Пример #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);
 }