| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- //
- // System.Reflection/MethodInfo.cs
- //
- // Author:
- // Paolo Molaro ([email protected])
- //
- // (C) 2001 Ximian, Inc. http://www.ximian.com
- //
- using System;
- using System.Runtime.CompilerServices;
- using System.Runtime.InteropServices;
- namespace System.Reflection {
- [Serializable]
- [ClassInterface(ClassInterfaceType.AutoDual)]
- 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 NET_1_2
- public extern bool IsGenericMethodDefinition {
- [MethodImplAttribute(MethodImplOptions.InternalCall)]
- get;
- }
- public abstract Type [] GetGenericArguments ();
- [MethodImplAttribute(MethodImplOptions.InternalCall)]
- public extern MethodInfo BindGenericParameters (Type [] types);
- #endif
- }
- }
|