The Labs \ Source Viewer \ SSCLI \ System.Reflection \ EventAttributes

  1. // ==++==
  2. //
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. //
  14. // ==--==
  15. ////////////////////////////////////////////////////////////////////////////////
  16. ////////////////////////////////////////////////////////////////////////////////
  17. //
  18. // EventAttributes are an enum defining the attributes associated with
  19. // and Event. These are defined in CorHdr.h and are a combination of
  20. // bits and enums.
  21. //
  22. //
  23. namespace System.Reflection
  24. {
  25.    
  26.     using System;
  27.     [Serializable()]
  28.     [Flags()]
  29.     [System.Runtime.InteropServices.ComVisible(true)]
  30.     public enum EventAttributes
  31.     {
  32.         None = 0,
  33.        
  34.         // This Enum matchs the CorEventAttr defined in CorHdr.h
  35.         SpecialName = 512,
  36.         // event is special. Name describes how.
  37.         // Reserved flags for Runtime use only.
  38.         ReservedMask = 1024,
  39.         RTSpecialName = 1024
  40.         // Runtime(metadata internal APIs) should check name encoding.
  41.     }
  42. }

Developer Fusion