1 // ==++== 2 // 3 // Copyright (c) Microsoft Corporation. All rights reserved. 4 // 5 // ==--== 6 /*============================================================ 7 ** 8 ** File: AssemblyNameFlags 9 ** 10 ** <OWNER>mray</OWNER> 11 ** <OWNER>WESU</OWNER> 12 ** 13 ** 14 ** Purpose: Flags controlling how an AssemblyName is used 15 ** during binding 16 ** 17 ** 18 ===========================================================*/ 19 namespace System.Reflection { 20 21 using System; 22 [Serializable] 23 [FlagsAttribute()] 24 [System.Runtime.InteropServices.ComVisible(true)] 25 public enum AssemblyNameFlags 26 { 27 None = 0x0000, 28 // Flag used to indicate that an assembly ref contains the full public key, not the compressed token. 29 // Must match afPublicKey in CorHdr.h. 30 PublicKey = 0x0001, 31 //ProcArchMask = 0x00F0, // Bits describing the processor architecture 32 // Accessible via AssemblyName.ProcessorArchitecture 33 EnableJITcompileOptimizer = 0x4000, 34 EnableJITcompileTracking = 0x8000, 35 Retargetable = 0x0100, 36 //ContentType = 0x0E00, // Bits describing the ContentType are accessible via AssemblyName.ContentType 37 } 38 39 [Serializable] 40 [System.Runtime.InteropServices.ComVisible(false)] 41 public enum AssemblyContentType 42 { 43 Default = 0x0000, 44 WindowsRuntime = 0x0001 45 } 46 47 [Serializable] 48 [System.Runtime.InteropServices.ComVisible(true)] 49 public enum ProcessorArchitecture 50 { 51 None = 0x0000, 52 MSIL = 0x0001, 53 X86 = 0x0002, 54 IA64 = 0x0003, 55 Amd64 = 0x0004, 56 Arm = 0x0005 57 } 58 } 59