20 references to ReserveBytes
Microsoft.CodeAnalysis (7)
InternalUtilities\BlobBuildingStream.cs (1)
80return _builder.ReserveBytes(byteCount);
PEWriter\ExtendedPEBuilder.cs (1)
95_mvidSectionFixup = sectionBuilder.ReserveBytes(SizeOfGuid);
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\PooledBlobBuilder.cs (1)
34/// <see cref="BlobBuilder.ReserveBytes(int)"/>
src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoEncoder.cs (2)
34_recordCountFixup = builder.ReserveBytes(1); 222var alignmentSizeAndLengthWriter = new BlobWriter(Builder.ReserveBytes(sizeof(byte) + sizeof(uint)));
Microsoft.CodeAnalysis.Debugging.Package (2)
CustomDebugInfoEncoder.cs (2)
34_recordCountFixup = builder.ReserveBytes(1); 222var alignmentSizeAndLengthWriter = new BlobWriter(Builder.ReserveBytes(sizeof(byte) + sizeof(uint)));
Microsoft.CodeAnalysis.Features (2)
src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoEncoder.cs (2)
34_recordCountFixup = builder.ReserveBytes(1); 222var alignmentSizeAndLengthWriter = new BlobWriter(Builder.ReserveBytes(sizeof(byte) + sizeof(uint)));
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\Encoding\MethodBodyStreamEncoder.cs (1)
93var instructions = Builder.ReserveBytes(codeSize);
System\Reflection\Metadata\Ecma335\MetadataBuilder.Heaps.cs (3)
418var content = _guidBuilder.ReserveBytes(BlobUtilities.SizeOfGuid); 483var reservedUserString = _userStringBuilder.ReserveBytes(BlobWriterImpl.GetCompressedIntegerSize(encodedLength) + encodedLength); 618var writer = new BlobWriter(builder.ReserveBytes(_blobHeapSize + alignment));
System\Reflection\Metadata\Ecma335\PortablePdbBuilder.cs (1)
108_pdbIdBlob = builder.ReserveBytes(MetadataSizes.PdbIdSize);
System\Reflection\PortableExecutable\ManagedTextSection.cs (1)
284strongNameSignature = builder.ReserveBytes(StrongNameSignatureSize);
System\Reflection\PortableExecutable\PEBuilder.cs (2)
201stampFixup = builder.ReserveBytes(sizeof(uint)); 279_lazyChecksum = builder.ReserveBytes(sizeof(uint));