1 instantiation of PooledBlobBuilder
Microsoft.CodeAnalysis (1)
PEWriter\PooledBlobBuilder.cs (1)
20private static readonly ObjectPool<PooledBlobBuilder> s_chunkPool = new ObjectPool<PooledBlobBuilder>(() => new PooledBlobBuilder(PoolChunkSize), PoolSize);
74 references to PooledBlobBuilder
Microsoft.CodeAnalysis (73)
CodeGen\BasicBlock.cs (3)
81private Cci.PooledBlobBuilder _lazyRegularInstructions; 82public Cci.PooledBlobBuilder Writer 88_lazyRegularInstructions = Cci.PooledBlobBuilder.GetInstance();
CodeGen\ILBuilder.cs (2)
891var writer = Cci.PooledBlobBuilder.GetInstance();
EmbeddedText.cs (4)
230using (var builder = Cci.PooledBlobBuilder.GetInstance()) 270using (var builder = Cci.PooledBlobBuilder.GetInstance())
Emit\EditAndContinue\DeltaMetadataWriter.cs (2)
860var writer = PooledBlobBuilder.GetInstance();
PEWriter\CustomDebugInfoWriter.cs (2)
99var pooledBuilder = PooledBlobBuilder.GetInstance();
PEWriter\MetadataBuilderExtensions.cs (1)
13internal static BlobHandle GetOrAddBlobAndFree(this MetadataBuilder metadataBuilder, PooledBlobBuilder builder)
PEWriter\MetadataWriter.cs (40)
716var writer = PooledBlobBuilder.GetInstance(); 819var writer = PooledBlobBuilder.GetInstance(); 1052var builder = PooledBlobBuilder.GetInstance(); 1075var writer = PooledBlobBuilder.GetInstance(); 1133var builder = PooledBlobBuilder.GetInstance(); 1151var writer = PooledBlobBuilder.GetInstance(); 1192var builder = PooledBlobBuilder.GetInstance(); 1234var writer = PooledBlobBuilder.GetInstance(); 1280var builder = PooledBlobBuilder.GetInstance(); 1651var builder = PooledBlobBuilder.GetInstance(); 1697PooledBlobBuilder? mappedFieldDataBuilder = null; 1698PooledBlobBuilder? managedResourceDataBuilder = null; 1777out PooledBlobBuilder? mappedFieldDataBuilder, 1778out PooledBlobBuilder? managedResourceDataBuilder, 1841PooledBlobBuilder? dynamicAnalysisData = null; 1844dynamicAnalysisData = PooledBlobBuilder.GetInstance(); 1911private void PopulateTypeSystemTables(int[] methodBodyOffsets, out PooledBlobBuilder? mappedFieldDataWriter, out PooledBlobBuilder? resourceWriter, BlobBuilder? dynamicAnalysisData, out Blob mvidFixup) 2333private void PopulateFieldRvaTableRows(out PooledBlobBuilder? mappedFieldDataWriter) 2344mappedFieldDataWriter ??= PooledBlobBuilder.GetInstance(); 2510private void PopulateManifestResourceTableRows(out PooledBlobBuilder? resourceDataWriter, BlobBuilder? dynamicAnalysisData) 2516resourceDataWriter = PooledBlobBuilder.GetInstance(); 2549static uint writeManagedResourceAndGetOffset(ManagedResource resource, ref PooledBlobBuilder? resourceWriter) 2556resourceWriter ??= PooledBlobBuilder.GetInstance(); 3051var builder = PooledBlobBuilder.GetInstance(); 3079var builder = PooledBlobBuilder.GetInstance(); 3760var customAttributeArgsBuilder = PooledBlobBuilder.GetInstance();
PEWriter\MetadataWriter.PortablePdb.cs (8)
638var writer = PooledBlobBuilder.GetInstance(); 812var writer = PooledBlobBuilder.GetInstance(); 824var writer = PooledBlobBuilder.GetInstance(); 836var writer = PooledBlobBuilder.GetInstance();
PEWriter\PeWriter.cs (7)
39internal PooledBlobBuilder? MappedFieldDataBlobBuilder; 40internal PooledBlobBuilder? ManagedResourceBlobBuilder; 41internal PooledBlobBuilder? PortableExecutableBlobBuilder; 42internal PooledBlobBuilder? PortablePdbBlobBuilder; 198PooledBlobBuilder? portablePdbToEmbed = null; 210emitBuilders.PortablePdbBlobBuilder = PooledBlobBuilder.GetInstance(zero: true); 292emitBuilders.PortableExecutableBlobBuilder = PooledBlobBuilder.GetInstance(zero: true);
PEWriter\PooledBlobBuilder.cs (4)
20private static readonly ObjectPool<PooledBlobBuilder> s_chunkPool = new ObjectPool<PooledBlobBuilder>(() => new PooledBlobBuilder(PoolChunkSize), PoolSize); 38public static PooledBlobBuilder GetInstance(bool zero = false) 40var builder = s_chunkPool.Allocate();
Microsoft.CodeAnalysis.CSharp (1)
Utilities\InterceptableLocation.cs (1)
100var builder = PooledBlobBuilder.GetInstance();