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