コード例 #1
0
        private void WriteStrings(MetadataStringStream strings)
        {
            strings.Blob.Align(4, 0);

            WriteStreamHeader(MetadataConstants.StreamStrings, strings.Length);
            _blob.Write(ref _state.StreamPos, strings.Blob.GetBuffer(), 0, strings.Blob.Length);
        }
コード例 #2
0
 public MetadataScope()
 {
     _frameworkVersionMoniker = MicrosoftNetFramework.VersionMonikerLatest;
     _tables      = new MetadataTableStream(this);
     _strings     = new MetadataStringStream();
     _userStrings = new MetadataUserStringStream();
     _guids       = new MetadataGuidStream();
     _blobs       = new MetadataBlobStream();
 }