1 write to Magic
System.Reflection.Metadata (1)
System\Reflection\PortableExecutable\PEHeader.cs (1)
292Magic = magic;
8 references to Magic
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Emit\EmitMetadataTests.cs (2)
2245Assert.Equal(PEMagic.PE32, peHeader.Magic); 2433Assert.Equal(PEMagic.PE32Plus, peHeader.Magic);
Microsoft.CodeAnalysis.Test.Utilities (2)
Metadata\ILValidation.cs (1)
134bool is32bit = peHeaders.PEHeader.Magic == PEMagic.PE32;
Metadata\MetadataReaderUtils.cs (1)
82return headers.PEHeader != null && headers.PEHeader.Magic == PEMagic.PE32Plus
Microsoft.DotNet.Arcade.Sdk (1)
src\Unsign.cs (1)
59int certificateTableDirectoryOffset = (headers.PEHeader.Magic == PEMagic.PE32Plus) ? 144 : 128;
Microsoft.DotNet.GenFacades (1)
ClearAssemblyReferenceVersions.cs (1)
55int certificateTableDirectoryOffset = (peReader.PEHeaders.PEHeader.Magic == PEMagic.PE32Plus) ? 144 : 128;
SemanticSearch.BuildTask (1)
GenerateFilteredReferenceAssembliesTask.cs (1)
325var certificateTableDirectoryOffset = (headers.PEHeader.Magic == PEMagic.PE32Plus) ? 144 : 128;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.cs (1)
90PEMagic peMagic = peHeaders.PEHeader!.Magic;