2 // System.Reflection/MethodInfo.cs
5 // Paolo Molaro (lupus@ximian.com)
7 // (C) 2001 Ximian, Inc. http://www.ximian.com
11 using System.Runtime.CompilerServices;
12 using System.Runtime.InteropServices;
14 namespace System.Reflection {
17 [ClassInterface(ClassInterfaceType.AutoDual)]
18 public abstract class MethodInfo: MethodBase {
20 public abstract MethodInfo GetBaseDefinition();
22 protected MethodInfo() {
24 public override MemberTypes MemberType { get {return MemberTypes.Method;} }
25 public abstract Type ReturnType { get; }
26 public abstract ICustomAttributeProvider ReturnTypeCustomAttributes { get; }
29 public extern bool IsGenericMethodDefinition {
30 [MethodImplAttribute(MethodImplOptions.InternalCall)]
34 public abstract Type [] GetGenericArguments ();
36 [MethodImplAttribute(MethodImplOptions.InternalCall)]
37 public extern MethodInfo BindGenericParameters (Type [] types);