Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ WriteCodeViewData()

static int System.Reflection.PortableExecutable.DebugDirectoryBuilder.WriteCodeViewData ( BlobBuilder builder,
string pdbPath,
Guid pdbGuid,
int age )
inlinestaticprivate

Definition at line 96 of file DebugDirectoryBuilder.cs.

97 {
98 int count = builder.Count;
99 builder.WriteByte(82);
100 builder.WriteByte(83);
101 builder.WriteByte(68);
102 builder.WriteByte(83);
103 builder.WriteGuid(pdbGuid);
104 builder.WriteInt32(age);
105 builder.WriteUTF8(pdbPath);
106 builder.WriteByte(0);
107 return builder.Count - count;
108 }

References System.count, and System.Collections.Generic.Dictionary< TKey, TValue >.Count.

Referenced by System.Reflection.PortableExecutable.DebugDirectoryBuilder.AddCodeViewEntry().