AssemblyFlagsAttribute.cs 532 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // System.Reflection.AssemblyFlagsAttribute.cs
  3. //
  4. // Author: Duncan Mak ([email protected])
  5. //
  6. // (C) Ximian, Inc. http://www.ximian.com
  7. //
  8. namespace System.Reflection
  9. {
  10. [AttributeUsage (AttributeTargets.Assembly)]
  11. public sealed class AssemblyFlagsAttribute : Attribute
  12. {
  13. // Field
  14. private uint flags;
  15. // Constructor
  16. [CLSCompliant (false)]
  17. public AssemblyFlagsAttribute (uint flags)
  18. {
  19. this.flags = flags;
  20. }
  21. // Property
  22. [CLSCompliant (false)]
  23. public uint Flags
  24. {
  25. get { return flags; }
  26. }
  27. }
  28. }