2003-10-17 Pedro Mart�nez Juli� <yoros@wanadoo.es>
[mono.git] / mcs / class / corlib / System.Reflection / MemberInfo.cs
1 //
2 // System.Reflection.MemberInfo.cs
3 //
4 // Author:
5 //   Miguel de Icaza (miguel@ximian.com)
6 //
7 // (C) Ximian, Inc.  http://www.ximian.com
8 //
9 // TODO: Mucho left to implement.
10 //
11
12 namespace System.Reflection {
13
14         [Serializable]
15         public abstract class MemberInfo : ICustomAttributeProvider {
16
17                 public abstract Type DeclaringType {
18                         get;
19                 }
20
21                 public abstract MemberTypes MemberType {
22                         get;
23                 }
24
25                 public abstract string Name {
26                         get;
27                 }
28
29                 public abstract Type ReflectedType {
30                         get;
31                 }
32
33                 public abstract bool IsDefined (Type attribute_type, bool inherit);
34
35                 public abstract object [] GetCustomAttributes (bool inherit);
36
37                 public abstract object [] GetCustomAttributes (Type attribute_type, bool inherit);
38         }
39 }