| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- //
- // System.Reflection/MethodInfo.cs
- //
- // Author:
- // Paolo Molaro ([email protected])
- //
- // (C) 2001 Ximian, Inc. http://www.ximian.com
- //
- using System;
- using System.Runtime.CompilerServices;
- namespace System.Reflection {
- [Serializable]
- public abstract class MethodInfo: MethodBase {
- public abstract MethodInfo GetBaseDefinition();
- protected MethodInfo() {
- }
- public override MemberTypes MemberType { get {return MemberTypes.Method;} }
- public abstract Type ReturnType { get; }
- public abstract ICustomAttributeProvider ReturnTypeCustomAttributes { get; }
- #if GENERICS
- public extern bool IsGenericMethodDefinition {
- [MethodImplAttribute(MethodImplOptions.InternalCall)]
- get;
- }
- [MethodImplAttribute(MethodImplOptions.InternalCall)]
- public extern Type [] GetGenericArguments ();
- [MethodImplAttribute(MethodImplOptions.InternalCall)]
- public extern MethodInfo BindGenericParameters (Type [] types);
- #endif
- }
- }
|