imported everything from my branch (which is slightly harmless).
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _MethodInfo.cs
1 //
2 // System.Runtime.InteropServices._MethodInfo interface
3 //
4 // Author:
5 //   Kazuki Oikawa  (kazuki@panicode.com)
6 //
7
8 #if NET_1_1
9
10 using System;
11 using System.Globalization;
12 using System.Reflection;
13
14 namespace System.Runtime.InteropServices
15 {
16         [CLSCompliant (false)]
17         [InterfaceType (ComInterfaceType.InterfaceIsDual)]
18         [Guid ("FFCC1B5D-ECB8-38DD-9B01-3DC8ABC2AA5F")]
19         public interface _MethodInfo
20         {
21                 bool Equals (object obj);
22
23                 MethodInfo GetBaseDefinition();
24                 
25                 object[] GetCustomAttributes (bool inherit);
26                 
27                 object[] GetCustomAttributes (Type attributeType, bool inherit);
28                 
29                 int GetHashCode ();
30
31                 MethodImplAttributes GetMethodImplementationFlags ();
32                 
33                 ParameterInfo[] GetParameters ();
34                 
35                 Type GetType ();
36
37                 object Invoke (object obj, object[] parameters);
38                 
39                 object Invoke (object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture);
40                 
41                 bool IsDefined(Type attributeType, bool inherit);
42                 
43                 string ToString ();
44
45                 MethodAttributes Attributes {get;}
46
47                 CallingConventions CallingConvention {get;}
48
49                 Type DeclaringType {get;}
50
51                 bool IsAbstract {get;}
52
53                 bool IsAssembly {get;}
54
55                 bool IsConstructor {get;}
56
57                 bool IsFamily {get;}
58
59                 bool IsFamilyAndAssembly {get;}
60
61                 bool IsFamilyOrAssembly {get;}
62
63                 bool IsFinal {get;}
64
65                 bool IsHideBySig {get;}
66
67                 bool IsPrivate {get;}
68
69                 bool IsPublic {get;}
70
71                 bool IsSpecialName {get;}
72
73                 bool IsStatic {get;}
74
75                 bool IsVirtual {get;}
76
77                 MemberTypes MemberType {get;}
78
79                 RuntimeMethodHandle MethodHandle {get;}
80
81                 string Name {get;}
82
83                 Type ReflectedType {get;}
84
85                 Type ReturnType {get;}
86
87                 ICustomAttributeProvider ReturnTypeCustomAttributes {get;}
88         }
89 }
90 #endif