16 references to ImageOptionalHeaderMagic
Microsoft.DotNet.SignCheckLibrary (16)
Interop\PortableExecutable\ImageOptionalHeader.cs (4)
14
public
ImageOptionalHeaderMagic
Magic;
156
public
ImageOptionalHeaderMagic
Magic;
307
Magic = (
ImageOptionalHeaderMagic
)reader.ReadUInt16(),
376
Magic = (
ImageOptionalHeaderMagic
)reader.ReadUInt16(),
Interop\PortableExecutable\PortableExecutableHeader.cs (12)
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;
228
public
ImageOptionalHeaderMagic
OptionalHeaderMagic
247
if (OptionalHeaderMagic ==
ImageOptionalHeaderMagic
.IMAGE_NT_OPTIONAL_HDR32_MAGIC)
251
else if (OptionalHeaderMagic ==
ImageOptionalHeaderMagic
.IMAGE_NT_OPTIONAL_HDR64_MAGIC)
325
OptionalHeaderMagic = (
ImageOptionalHeaderMagic
)reader.ReadUInt16();
327
if (OptionalHeaderMagic ==
ImageOptionalHeaderMagic
.IMAGE_NT_OPTIONAL_HDR32_MAGIC)
333
else if (OptionalHeaderMagic ==
ImageOptionalHeaderMagic
.IMAGE_NT_OPTIONAL_HDR64_MAGIC)