165 references to AssemblyFlags
Crossgen2Tasks (2)
GenerateDocumentationAndConfigFiles (2)
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.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.DotNet.ILAssembler (47)
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)
140assemblyReference.Flags.HasFlag(AssemblyFlags.PublicKey))
143target.Flags |= AssemblyFlags.PublicKey;
183_entityRegistry.Assembly.Flags |= AssemblyFlags.PublicKey;
Microsoft.NET.Build.Tasks (4)
Roslyn.Diagnostics.Analyzers (2)
rzc (4)
System.Reflection.Emit (7)
System.Reflection.Metadata (24)
System.Reflection.MetadataLoadContext (5)