Beispiel #1
0
 public AssemblyRefTableRow(
     byte[] buff,
     uint offset,
     IHeapOffsetSizes heapOffsetSizes,
     IMETADATASTREAM_STRING metaDataStreamString,
     IMETADATASTREAM_BLOB metaDataStreamBlob
     )
     : base(buff, offset, heapOffsetSizes)
 {
 }
Beispiel #2
0
 /// <summary>
 /// Create a new AbstractMetaDataTable instance.
 /// </summary>
 /// <param name="buff">Buffer which contains the table.</param>
 /// <param name="offset">Offset of the table in the buffer.</param>
 /// <param name="numberOfRows">Number of rows of the table.</param>
 /// <param name="heapIndexSize">Heap index sizes.</param>
 protected AbstractMetaDataTable(
     byte[] buff,
     uint offset,
     uint numberOfRows,
     IHeapOffsetSizes heapIndexSize
     )
     : base(buff, offset)
 {
     NumberOfRows   = numberOfRows;
     HeapIndexSizes = heapIndexSize;
 }
 /// <summary>
 /// Create a new AssemblyRefTable instance.
 /// </summary>
 /// <param name="buff">Buffer containing the .Net header</param>
 /// <param name="offset">Offset to the AssemblyRef Table in the buffer.</param>
 /// <param name="numberOfRows">Number of rows of the table.</param>
 /// <param name="heapIndexSize">The HeapOffsetSizes flag of the Meta Data Tables Header.</param>
 /// <param name="metaDataStreamString">Meta Data stream "String" to resolve strings in
 /// the rows.</param>
 /// <param name="metaDataStreamBlob">Meta Data stream "Blob" to resolve strings and hashes in
 /// the rows.</param>
 public AssemblyRefTable(
     byte[] buff,
     uint offset,
     uint numberOfRows,
     IHeapOffsetSizes heapIndexSize,
     IMETADATASTREAM_STRING metaDataStreamString,
     IMETADATASTREAM_BLOB metaDataStreamBlob
     ) : base(buff, offset, numberOfRows, heapIndexSize)
 {
     _metaDataStreamString = metaDataStreamString;
     _metaDataStreamBlob   = metaDataStreamBlob;
 }
 /// <summary>
 /// Create a new ModuleTableRow instance.
 /// </summary>
 /// <param name="buff">Buffer which contains the row.</param>
 /// <param name="offset">Offset in the buff, where the header starts.</param>
 /// <param name="metaDataStreamString">Meta Data stream "String" object to resolve strings in
 /// the ModuleTableRow.</param>
 /// <param name="metaDataStreamGuid">Meta Data stream "GUID" object to resolve GUIDs in
 /// the ModuleTableRow.</param>
 /// <param name="heapOffsetSizes">Computes sizes of the heap bases indexes.</param>
 public ModuleTableRow(
     byte[] buff,
     uint offset,
     IMETADATASTREAM_STRING metaDataStreamString,
     IMETADATASTREAM_GUID metaDataStreamGuid,
     IHeapOffsetSizes heapOffsetSizes
     )
     : base(buff, offset, heapOffsetSizes)
 {
     _metaDataStreamString = metaDataStreamString;
     _metaDataStreamGuid   = metaDataStreamGuid;
 }
 /// <summary>
 /// Create a new instance.
 /// </summary>
 /// <param name="buff">Buffer containing the row.</param>
 /// <param name="offset">Offset in the buffer where the row starts.</param>
 /// <param name="heapIndexSizes">The index sizes of the .Net heaps (streams).</param>
 protected AbstractMetaDataTableRow(byte[] buff, uint offset, IHeapOffsetSizes heapIndexSizes)
     : base(buff, offset)
 {
     HeapIndexSizes = heapIndexSizes;
 }