public GuidStreamBuffer(MetadataBuffer parentBuffer) { if (parentBuffer == null) { throw new ArgumentNullException("parentBuffer"); } _parentBuffer = parentBuffer; }
public BlobStreamBuffer(MetadataBuffer parentBuffer) { if (parentBuffer == null) { throw new ArgumentNullException("parentBuffer"); } _parentBuffer = parentBuffer; _length = 1; }
public TableStreamBuffer(MetadataBuffer parentBuffer) { _parentBuffer = parentBuffer; _tableStream = new TableStream(); var rowComparer = new MetadataRowComparer(); _typeRefs = new Dictionary <MetadataRow <uint, uint, uint>, MetadataToken>(rowComparer); _typeSpecs = new Dictionary <MetadataRow <uint>, MetadataToken>(rowComparer); _assemblyRefs = new Dictionary <MetadataRow <ushort, ushort, ushort, ushort, AssemblyAttributes, uint, uint, uint, uint>, MetadataToken>(rowComparer); _moduleRefs = new Dictionary <MetadataRow <uint>, MetadataToken>(rowComparer); _memberRefs = new Dictionary <MetadataRow <uint, uint, uint>, MetadataToken>(rowComparer); _methodSpecs = new Dictionary <MetadataRow <uint, uint>, MetadataToken>(rowComparer); }
public GuidStreamBuffer(MetadataBuffer parentBuffer) { _parentBuffer = parentBuffer ?? throw new ArgumentNullException(nameof(parentBuffer)); }
public BlobStreamBuffer(MetadataBuffer parentBuffer) { _parentBuffer = parentBuffer ?? throw new ArgumentNullException(nameof(parentBuffer)); _length = 1; }