1 write to OptionalHeaderMagic
Microsoft.DotNet.SignCheckLibrary (1)
Interop\PortableExecutable\PortableExecutableHeader.cs (1)
325
OptionalHeaderMagic
= (ImageOptionalHeaderMagic)reader.ReadUInt16();
10 references to OptionalHeaderMagic
Microsoft.DotNet.SignCheckLibrary (10)
Interop\PortableExecutable\PortableExecutableHeader.cs (10)
27
if (
OptionalHeaderMagic
== ImageOptionalHeaderMagic.IMAGE_NT_OPTIONAL_HDR32_MAGIC)
31
else if (
OptionalHeaderMagic
== ImageOptionalHeaderMagic.IMAGE_NT_OPTIONAL_HDR64_MAGIC)
157
if (
OptionalHeaderMagic
== ImageOptionalHeaderMagic.IMAGE_NT_OPTIONAL_HDR32_MAGIC)
161
else if (
OptionalHeaderMagic
== ImageOptionalHeaderMagic.IMAGE_NT_OPTIONAL_HDR64_MAGIC)
207
return
OptionalHeaderMagic
== ImageOptionalHeaderMagic.IMAGE_NT_OPTIONAL_HDR32_MAGIC;
215
return
OptionalHeaderMagic
== ImageOptionalHeaderMagic.IMAGE_NT_OPTIONAL_HDR64_MAGIC;
247
if (
OptionalHeaderMagic
== ImageOptionalHeaderMagic.IMAGE_NT_OPTIONAL_HDR32_MAGIC)
251
else if (
OptionalHeaderMagic
== ImageOptionalHeaderMagic.IMAGE_NT_OPTIONAL_HDR64_MAGIC)
327
if (
OptionalHeaderMagic
== ImageOptionalHeaderMagic.IMAGE_NT_OPTIONAL_HDR32_MAGIC)
333
else if (
OptionalHeaderMagic
== ImageOptionalHeaderMagic.IMAGE_NT_OPTIONAL_HDR64_MAGIC)