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

  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. ** File:    AssemblyNameFlags
  18. **
  19. **
  20. ** Purpose: Flags controlling how an AssemblyName is used
  21. **          during binding
  22. **
  23. **
  24. ===========================================================*/
  25. namespace System.Reflection
  26. {
  27.    
  28.     using System;
  29.     [Serializable(), FlagsAttribute()]
  30.     [System.Runtime.InteropServices.ComVisible(true)]
  31.     public enum AssemblyNameFlags
  32.     {
  33.         None = 0,
  34.         // Flag used to indicate that an assembly ref contains the full public key, not the compressed token.
  35.         // Must match afPublicKey in CorHdr.h.
  36.         PublicKey = 1,
  37.         //ProcArchMask = 0x00F0, // Bits describing the processor architecture
  38.         // Accessible via AssemblyName.ProcessorArchitecture
  39.         EnableJITcompileOptimizer = 16384,
  40.         EnableJITcompileTracking = 32768,
  41.         Retargetable = 256
  42.     }
  43.    
  44.     [Serializable()]
  45.     [System.Runtime.InteropServices.ComVisible(true)]
  46.     public enum ProcessorArchitecture
  47.     {
  48.         None = 0,
  49.         MSIL = 1,
  50.         X86 = 2,
  51.         IA64 = 3,
  52.         Amd64 = 4
  53.     }
  54. }

Developer Fusion