Beispiel #1
0
 public GuidStreamBuffer(MetadataBuffer parentBuffer)
 {
     if (parentBuffer == null)
     {
         throw new ArgumentNullException("parentBuffer");
     }
     _parentBuffer = parentBuffer;
 }
Beispiel #2
0
 public BlobStreamBuffer(MetadataBuffer parentBuffer)
 {
     if (parentBuffer == null)
     {
         throw new ArgumentNullException("parentBuffer");
     }
     _parentBuffer = parentBuffer;
     _length       = 1;
 }
Beispiel #3
0
        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));
 }
Beispiel #5
0
 public BlobStreamBuffer(MetadataBuffer parentBuffer)
 {
     _parentBuffer = parentBuffer ?? throw new ArgumentNullException(nameof(parentBuffer));
     _length       = 1;
 }