Exemplo n.º 1
0
        private void WriteUserStrings(MetadataUserStringStream userStrings)
        {
            userStrings.Blob.Align(4, 0);

            WriteStreamHeader(MetadataConstants.StreamUserStrings, userStrings.Length);
            _blob.Write(ref _state.StreamPos, userStrings.Blob.GetBuffer(), 0, userStrings.Blob.Length);
        }
 public MetadataScope()
 {
     _frameworkVersionMoniker = MicrosoftNetFramework.VersionMonikerLatest;
     _tables      = new MetadataTableStream(this);
     _strings     = new MetadataStringStream();
     _userStrings = new MetadataUserStringStream();
     _guids       = new MetadataGuidStream();
     _blobs       = new MetadataBlobStream();
 }