MemberInfo.cs 722 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // System.Reflection.MemberInfo.cs
  3. //
  4. // Author:
  5. // Miguel de Icaza ([email protected])
  6. //
  7. // (C) Ximian, Inc. http://www.ximian.com
  8. //
  9. // TODO: Mucho left to implement.
  10. //
  11. namespace System.Reflection {
  12. [Serializable]
  13. public abstract class MemberInfo : ICustomAttributeProvider {
  14. public abstract Type DeclaringType {
  15. get;
  16. }
  17. public abstract MemberTypes MemberType {
  18. get;
  19. }
  20. public abstract string Name {
  21. get;
  22. }
  23. public abstract Type ReflectedType {
  24. get;
  25. }
  26. public abstract bool IsDefined (Type attribute_type, bool inherit);
  27. public abstract object [] GetCustomAttributes (bool inherit);
  28. public abstract object [] GetCustomAttributes (Type attribute_type, bool inherit);
  29. }
  30. }