2 // System.Reflection.MemberInfo.cs
5 // Miguel de Icaza (miguel@ximian.com)
7 // (C) Ximian, Inc. http://www.ximian.com
9 // TODO: Mucho left to implement.
12 using System.Runtime.InteropServices;
14 namespace System.Reflection {
17 [ClassInterface(ClassInterfaceType.AutoDual)]
18 public abstract class MemberInfo : ICustomAttributeProvider {
20 internal MemberInfo () {}
22 public abstract Type DeclaringType {
26 public abstract MemberTypes MemberType {
30 public abstract string Name {
34 public abstract Type ReflectedType {
38 public abstract bool IsDefined (Type attribute_type, bool inherit);
40 public abstract object [] GetCustomAttributes (bool inherit);
42 public abstract object [] GetCustomAttributes (Type attribute_type, bool inherit);