patches by Andres Nahr
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _FieldInfo.cs
1 //
2 // System.Runtime.InteropServices._FieldInfo 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 ("8A7C1442-A9FB-366B-80D8-4939FFA6DBE0")]
19         public interface _FieldInfo
20         {
21                 bool Equals (object obj);
22
23                 object[] GetCustomAttributes (bool inherit);
24
25                 object[] GetCustomAttributes (Type attributeType, bool inherit);
26
27                 int GetHashCode ();
28
29                 Type GetType ();
30
31                 object GetValue (object obj);
32
33                 object GetValueDirect (TypedReference obj);
34
35                 bool IsDefined (Type attributeType, bool inherit);
36
37                 void SetValue (object obj, object value);
38
39                 void SetValue (object obj, object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture);
40
41                 void SetValueDirect (TypedReference obj, object value);
42
43                 string ToString ();
44
45                 FieldAttributes Attributes {get;}
46
47                 Type DeclaringType {get;}
48
49                 RuntimeFieldHandle FieldHandle {get;}
50
51                 Type FieldType {get;}
52
53                 bool IsAssembly {get;}
54
55                 bool IsFamily {get;}
56
57                 bool IsFamilyAndAssembly {get;}
58
59                 bool IsFamilyOrAssembly {get;}
60
61                 bool IsInitOnly {get;}
62
63                 bool IsLiteral {get;}
64
65                 bool IsNotSerialized {get;}
66
67                 bool IsPinvokeImpl {get;}
68
69                 bool IsPrivate {get;}
70
71                 bool IsPublic {get;}
72
73                 bool IsSpecialName {get;}
74
75                 bool IsStatic {get;}
76
77                 MemberTypes MemberType {get;}
78
79                 string Name {get;}
80
81                 Type ReflectedType {get;}
82         }
83 }
84 #endif