26 instantiations of BlobWriter
Microsoft.CodeAnalysis (11)
EmbeddedText.cs (1)
335new BlobWriter(reserved).WriteInt32(deflater.BytesWritten);
PEWriter\ExtendedPEBuilder.cs (1)
96var mvidWriter = new BlobWriter(_mvidSectionFixup);
PEWriter\MetadataWriter.cs (1)
3237var writer = new BlobWriter(finalIL);
PEWriter\MetadataWriter.DynamicAnalysis.cs (1)
303var writer = new BlobWriter(builder.ReserveBytes(_blobHeapSize));
PEWriter\NativeResourceWriter.cs (1)
355var sectionWriter = new BlobWriter(builder.ReserveBytes(resourceSections.SectionBytes.Length));
PEWriter\PeWriter.cs (3)
339var writer = new BlobWriter(guidFixup); 346var writer = new BlobWriter(guidSectionFixup); 353var writer = new BlobWriter(stringFixup);
src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoEncoder.cs (2)
51new BlobWriter(_recordCountFixup).WriteByte((byte)_recordCount); 222var alignmentSizeAndLengthWriter = new BlobWriter(Builder.ReserveBytes(sizeof(byte) + sizeof(uint)));
StrongName\CryptoBlobParser.cs (1)
162var w = new BlobWriter(3 * sizeof(uint) + s_offsetToKeyData + pubKeyData.Length);
Microsoft.CodeAnalysis.Debugging.Package (2)
CustomDebugInfoEncoder.cs (2)
51new BlobWriter(_recordCountFixup).WriteByte((byte)_recordCount); 222var alignmentSizeAndLengthWriter = new BlobWriter(Builder.ReserveBytes(sizeof(byte) + sizeof(uint)));
Microsoft.CodeAnalysis.Features (2)
src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoEncoder.cs (2)
51new BlobWriter(_recordCountFixup).WriteByte((byte)_recordCount); 222var alignmentSizeAndLengthWriter = new BlobWriter(Builder.ReserveBytes(sizeof(byte) + sizeof(uint)));
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\ILValidation.cs (1)
140new BlobWriter(checksumBlob).WriteUInt32(0);
SemanticSearch.BuildTask (1)
GenerateFilteredReferenceAssembliesTask.cs (1)
479var blob = new BlobWriter(buffer);
System.Reflection.Emit (1)
System\Reflection\Emit\ILGeneratorImpl.cs (1)
470(member, new BlobWriter(_il.CodeBuilder.ReserveBytes(sizeof(int)))));
System.Reflection.Metadata (8)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Heaps.cs (1)
618var writer = new BlobWriter(builder.ReserveBytes(_blobHeapSize + alignment));
System\Reflection\Metadata\Ecma335\PortablePdbBuilder.cs (1)
147var idWriter = new BlobWriter(_pdbIdBlob);
System\Reflection\Metadata\ReservedBlob.cs (1)
24public BlobWriter CreateWriter() => new BlobWriter(Content);
System\Reflection\PortableExecutable\ManagedTextSection.cs (1)
288new BlobWriter(strongNameSignature).WriteBytes(0, StrongNameSignatureSize);
System\Reflection\PortableExecutable\PEBuilder.cs (4)
116var stampWriter = new BlobWriter(stampFixup); 280new BlobWriter(_lazyChecksum).WriteUInt32(0); 509var writer = new BlobWriter(strongNameSignatureFixup); 514new BlobWriter(_lazyChecksum).WriteUInt32(checksum);
29 references to BlobWriter
Microsoft.CodeAnalysis (9)
PEWriter\ExtendedPEBuilder.cs (1)
96var mvidWriter = new BlobWriter(_mvidSectionFixup);
PEWriter\MetadataWriter.cs (1)
3237var writer = new BlobWriter(finalIL);
PEWriter\MetadataWriter.DynamicAnalysis.cs (1)
303var writer = new BlobWriter(builder.ReserveBytes(_blobHeapSize));
PEWriter\NativeResourceWriter.cs (1)
355var sectionWriter = new BlobWriter(builder.ReserveBytes(resourceSections.SectionBytes.Length));
PEWriter\PeWriter.cs (3)
339var writer = new BlobWriter(guidFixup); 346var writer = new BlobWriter(guidSectionFixup); 353var writer = new BlobWriter(stringFixup);
src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoEncoder.cs (1)
222var alignmentSizeAndLengthWriter = new BlobWriter(Builder.ReserveBytes(sizeof(byte) + sizeof(uint)));
StrongName\CryptoBlobParser.cs (1)
162var w = new BlobWriter(3 * sizeof(uint) + s_offsetToKeyData + pubKeyData.Length);
Microsoft.CodeAnalysis.Debugging.Package (1)
CustomDebugInfoEncoder.cs (1)
222var alignmentSizeAndLengthWriter = new BlobWriter(Builder.ReserveBytes(sizeof(byte) + sizeof(uint)));
Microsoft.CodeAnalysis.Features (1)
src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoEncoder.cs (1)
222var alignmentSizeAndLengthWriter = new BlobWriter(Builder.ReserveBytes(sizeof(byte) + sizeof(uint)));
SemanticSearch.BuildTask (1)
GenerateFilteredReferenceAssembliesTask.cs (1)
479var blob = new BlobWriter(buffer);
System.Reflection.Emit (4)
System\Reflection\Emit\ILGeneratorImpl.cs (3)
32private List<KeyValuePair<object, BlobWriter>> _memberReferences = new(); 50internal List<KeyValuePair<object, BlobWriter>> GetMemberReferences() => _memberReferences; 469_memberReferences.Add(new KeyValuePair<object, BlobWriter>
System\Reflection\Emit\ModuleBuilderImpl.cs (1)
611foreach (KeyValuePair<object, BlobWriter> pair in il.GetMemberReferences())
System.Reflection.Metadata (13)
System\Reflection\Metadata\BlobBuilder.cs (2)
349/// <exception cref="ArgumentNullException"><paramref name="destination"/> is default(<see cref="BlobWriter"/>).</exception> 351public void WriteContentTo(ref BlobWriter destination)
System\Reflection\Metadata\BlobWriter.cs (1)
55public bool ContentEquals(BlobWriter other)
System\Reflection\Metadata\BlobWriterImpl.cs (3)
33internal static void WriteCompressedInteger(ref BlobWriter writer, uint value) 79internal static void WriteCompressedSignedInteger(ref BlobWriter writer, int value) 147internal static void WriteConstant(ref BlobWriter writer, object? value)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Heaps.cs (2)
470/// Use <see cref="BlobWriter.WriteUserString(string)"/> to fill in the blob content. 618var writer = new BlobWriter(builder.ReserveBytes(_blobHeapSize + alignment));
System\Reflection\Metadata\Ecma335\PortablePdbBuilder.cs (1)
147var idWriter = new BlobWriter(_pdbIdBlob);
System\Reflection\Metadata\ReservedBlob.cs (2)
22/// Returns a <see cref="BlobWriter"/> to be used to update the content. 24public BlobWriter CreateWriter() => new BlobWriter(Content);
System\Reflection\PortableExecutable\PEBuilder.cs (2)
116var stampWriter = new BlobWriter(stampFixup); 509var writer = new BlobWriter(strongNameSignatureFixup);