Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
CorHeader.cs
Go to the documentation of this file.
2
3public sealed class CorHeader
4{
5 public ushort MajorRuntimeVersion { get; }
6
7 public ushort MinorRuntimeVersion { get; }
8
10
11 public CorFlags Flags { get; }
12
14
16
18
20
22
24
26
27 internal CorHeader(ref PEBinaryReader reader)
28 {
29 reader.ReadInt32();
30 MajorRuntimeVersion = reader.ReadUInt16();
31 MinorRuntimeVersion = reader.ReadUInt16();
32 MetadataDirectory = new DirectoryEntry(ref reader);
33 Flags = (CorFlags)reader.ReadUInt32();
34 EntryPointTokenOrRelativeVirtualAddress = reader.ReadInt32();
35 ResourcesDirectory = new DirectoryEntry(ref reader);
38 VtableFixupsDirectory = new DirectoryEntry(ref reader);
41 }
42}