예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PdbType"/> class.
 /// </summary>
 /// <param name="reader">The reader to initialize From.</param>
 protected PdbType(BinaryReader reader)
 {
     this.unknown1    = reader.ReadInt32();
     this.range       = new PdbSymbolRangeEx(reader);
     this.flag        = reader.ReadInt16();
     this.stream      = reader.ReadInt16();
     this.symbol_size = reader.ReadInt32();
     this.lineno_size = reader.ReadInt32();
     this.unknown2    = reader.ReadInt32();
     this.nSrcFiles   = reader.ReadInt32();
     this.attribute   = reader.ReadInt32();
     this.reserved1   = reader.ReadInt32();
     this.reserved2   = reader.ReadInt32();
     this.name        = CvUtil.ReadString(reader);
     this.unknown3    = CvUtil.ReadString(reader);
     CvUtil.PadToBoundary(reader, 4);
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PdbType"/> class.
 /// </summary>
 /// <param name="reader">The reader to initialize From.</param>
 protected PdbType(BinaryReader reader)
 {
     this.unknown1 = reader.ReadInt32();
     this.range = new PdbSymbolRangeEx(reader);
     this.flag = reader.ReadInt16();
     this.stream = reader.ReadInt16();
     this.symbol_size = reader.ReadInt32();
     this.lineno_size = reader.ReadInt32();
     this.unknown2 = reader.ReadInt32();
     this.nSrcFiles = reader.ReadInt32();
     this.attribute = reader.ReadInt32();
     this.reserved1 = reader.ReadInt32();
     this.reserved2 = reader.ReadInt32();
     this.name = CvUtil.ReadString(reader);
     this.unknown3 = CvUtil.ReadString(reader);
     CvUtil.PadToBoundary(reader, 4);
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PdbType"/> class.
 /// </summary>
 /// <param name="reader">The reader to initialize From.</param>
 protected PdbType(BinaryReader reader)
 {
     unknown1   = reader.ReadInt32();
     range      = new PdbSymbolRangeEx(reader);
     flag       = reader.ReadInt16();
     Stream     = reader.ReadInt16();
     SymbolSize = reader.ReadInt32();
     LineNoSize = reader.ReadInt32();
     unknown2   = reader.ReadInt32();
     nSrcFiles  = reader.ReadInt32();
     attribute  = reader.ReadInt32();
     reserved1  = reader.ReadInt32();
     reserved2  = reader.ReadInt32();
     Name       = CvUtil.ReadString(reader);
     unknown3   = CvUtil.ReadString(reader);
     CvUtil.PadToBoundary(reader, 4);
 }