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;
13 namespace System.Reflection {
16 public abstract class MethodInfo: MethodBase {
18 public abstract MethodInfo GetBaseDefinition();
20 protected MethodInfo() {
22 public override MemberTypes MemberType { get {return MemberTypes.Method;} }
23 public abstract Type ReturnType { get; }
24 public abstract ICustomAttributeProvider ReturnTypeCustomAttributes { get; }
27 public extern bool IsGenericMethodDefinition {
28 [MethodImplAttribute(MethodImplOptions.InternalCall)]
32 [MethodImplAttribute(MethodImplOptions.InternalCall)]
33 public extern Type [] GetGenericArguments ();
35 [MethodImplAttribute(MethodImplOptions.InternalCall)]
36 public extern MethodInfo BindGenericParameters (Type [] types);