165 references to AssemblyFlags
Crossgen2Tasks (2)
GenerateDocumentationAndConfigFiles (2)
ILAssembler (46)
Actions\GrammarActions.Manifest.Assembly.cs (29)
20(AssemblyFlags value, AssemblyFlags mask) = context.Start.Text switch
22"retargetable" => (AssemblyFlags.Retargetable, (AssemblyFlags)0),
23"windowsruntime" => (AssemblyFlags.WindowsRuntime, (AssemblyFlags)0),
24"noplatform" => (AssemblyFlags.NoPlatform, (AssemblyFlags)0),
25"legacy library" => ((AssemblyFlags)0, (AssemblyFlags)0),
26"cil" => (GetFlagForArch(ProcessorArchitecture.MSIL), AssemblyFlags.ArchitectureMask),
27"x86" => (GetFlagForArch(ProcessorArchitecture.X86), AssemblyFlags.ArchitectureMask),
28"amd64" => (GetFlagForArch(ProcessorArchitecture.Amd64), AssemblyFlags.ArchitectureMask),
29"arm" => (GetFlagForArch(ProcessorArchitecture.Arm), AssemblyFlags.ArchitectureMask),
30"arm64" => (GetFlagForArch((ProcessorArchitecture)6), AssemblyFlags.ArchitectureMask),
31_ => ((AssemblyFlags)0, (AssemblyFlags)0)
37internal AssemblyFlags AddAssemblyAttribute(
38AssemblyFlags attributes,
39AssemblyFlags value,
40AssemblyFlags mask)
44AssemblyFlags attributes,
84private static AssemblyFlags GetFlagForArch(ProcessorArchitecture architecture)
85=> (AssemblyFlags)((int)architecture << 4);
87private static (ProcessorArchitecture Architecture, AssemblyFlags Flags) GetArchAndFlags(
88AssemblyFlags flags)
139assemblyReference.Flags.HasFlag(AssemblyFlags.PublicKey))
142target.Flags |= AssemblyFlags.PublicKey;
182_entityRegistry.Assembly.Flags |= AssemblyFlags.PublicKey;
ILCompiler.Compiler (9)
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (7)
32public TypeSystemMetadataEmitter(AssemblyNameInfo assemblyName, TypeSystemContext context, AssemblyFlags flags = default(AssemblyFlags), byte[] publicKeyArray = null)
60var canonAssemblyRef = _metadataBuilder.AddAssemblyReference(canonAssemblyNameHandle, new Version(0, 0, 0, 0), default(StringHandle), default(BlobHandle), (AssemblyFlags)0, default(BlobHandle));
140AssemblyFlags flags = (AssemblyFlags)name.Flags & (AssemblyFlags.Retargetable | AssemblyFlags.ContentTypeMask);
ILCompiler.MetadataTransform (1)
ILCompiler.ReadyToRun (14)
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (7)
32public TypeSystemMetadataEmitter(AssemblyNameInfo assemblyName, TypeSystemContext context, AssemblyFlags flags = default(AssemblyFlags), byte[] publicKeyArray = null)
60var canonAssemblyRef = _metadataBuilder.AddAssemblyReference(canonAssemblyNameHandle, new Version(0, 0, 0, 0), default(StringHandle), default(BlobHandle), (AssemblyFlags)0, default(BlobHandle));
140AssemblyFlags flags = (AssemblyFlags)name.Flags & (AssemblyFlags.Retargetable | AssemblyFlags.ContentTypeMask);
ILCompiler.TypeSystem (2)
Microsoft.CodeAnalysis (14)
Microsoft.CodeAnalysis.Analyzers (2)
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
Microsoft.CodeAnalysis.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp (9)
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
Microsoft.CodeAnalysis.VisualBasic (7)
Microsoft.CodeAnalysis.Workspaces (2)
Microsoft.DotNet.Cli.CoreUtils (3)
Microsoft.NET.Build.Tasks (4)
Roslyn.Diagnostics.Analyzers (2)
rzc (4)
System.Reflection.Emit (7)
System.Reflection.Metadata (24)
System.Reflection.MetadataLoadContext (5)