Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
PortablePdbVersions.cs
Go to the documentation of this file.
2
3internal static class PortablePdbVersions
4{
5 internal const string DefaultMetadataVersion = "PDB v1.0";
6
7 internal const ushort DefaultFormatVersion = 256;
8
9 internal const ushort MinFormatVersion = 256;
10
11 internal const ushort MinEmbeddedVersion = 256;
12
13 internal const ushort DefaultEmbeddedVersion = 256;
14
15 internal const ushort MinUnsupportedEmbeddedVersion = 512;
16
17 internal const uint DebugDirectoryEmbeddedSignature = 1111773261u;
18
19 internal const ushort PortableCodeViewVersionMagic = 20557;
20
21 internal static uint DebugDirectoryEntryVersion(ushort portablePdbVersion)
22 {
23 return 0x504D0000u | portablePdbVersion;
24 }
25
26 internal static uint DebugDirectoryEmbeddedVersion(ushort portablePdbVersion)
27 {
28 return 0x1000000u | portablePdbVersion;
29 }
30
31 internal static string Format(ushort version)
32 {
33 return (version >> 8) + "." + (version & 0xFF);
34 }
35}
static uint DebugDirectoryEntryVersion(ushort portablePdbVersion)
static uint DebugDirectoryEmbeddedVersion(ushort portablePdbVersion)