42 references to GetOrAddBlob
Microsoft.CodeAnalysis (21)
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
880
BlobHandle blobIndex = metadata.
GetOrAddBlob
(writer);
PEWriter\MetadataBuilderExtensions.cs (1)
15
var handle = metadataBuilder.
GetOrAddBlob
(builder);
PEWriter\MetadataWriter.cs (10)
718
result = metadata.
GetOrAddBlob
(writer);
821
result = metadata.
GetOrAddBlob
(writer);
1061
result = metadata.
GetOrAddBlob
(builder);
1077
result = metadata.
GetOrAddBlob
(writer);
1153
BlobHandle result = metadata.
GetOrAddBlob
(writer);
1196
BlobHandle blobIndex = metadata.
GetOrAddBlob
(builder);
1241
result = metadata.
GetOrAddBlob
(writer);
1653
result = metadata.
GetOrAddBlob
(builder);
3059
BlobHandle blobIndex = metadata.
GetOrAddBlob
(builder);
3089
BlobHandle blobIndex = metadata.
GetOrAddBlob
(builder);
PEWriter\MetadataWriter.PortablePdb.cs (9)
236
return _debugMetadataOpt.
GetOrAddBlob
(builder);
431
imports: _debugMetadataOpt.
GetOrAddBlob
(writer));
465
return _debugMetadataOpt.
GetOrAddBlob
(writer);
509
value: _debugMetadataOpt.
GetOrAddBlob
(builder));
597
value: _debugMetadataOpt.
GetOrAddBlob
(writer));
619
value: _debugMetadataOpt.
GetOrAddBlob
(writer));
935
value: _debugMetadataOpt.
GetOrAddBlob
(builder));
1013
value: _debugMetadataOpt.
GetOrAddBlob
(builder));
1030
value: _debugMetadataOpt.
GetOrAddBlob
(builder));
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenFunctionPointersTests.cs (3)
12648
metadata.
GetOrAddBlob
(consoleWriteLineSignature));
12656
var parameterlessCtorBlobIndex = metadata.
GetOrAddBlob
(parameterlessCtorSignature);
12713
metadata.
GetOrAddBlob
(mSignature),
System.Reflection.Emit (13)
System\Reflection\Emit\ModuleBuilderImpl.cs (13)
362
_metadataBuilder.AddStandaloneSignature(_metadataBuilder.
GetOrAddBlob
(MetadataSignatureHelper.GetLocalSignature(il.Locals, this)));
436
_pdbBuilder.AddMethodDebugInformation(GetDocument(enumerator.Current.Key), _pdbBuilder.
GetOrAddBlob
(spBlobBuilder));
469
return _pdbBuilder.
GetOrAddBlob
(spBlobBuilder);
567
return _pdbBuilder.AddImportScope(parent, _pdbBuilder.
GetOrAddBlob
(importBlob));
720
signature: _metadataBuilder.
GetOrAddBlob
(MetadataSignatureHelper.GetTypeSpecificationSignature(type, this)));
725
instantiation: _metadataBuilder.
GetOrAddBlob
(MetadataSignatureHelper.GetMethodSpecificationSignature(genericArgs, this)));
909
signature: _metadataBuilder.
GetOrAddBlob
(signature));
931
signature: _metadataBuilder.
GetOrAddBlob
(fieldSignature));
947
signature: _metadataBuilder.
GetOrAddBlob
(methodSignature),
961
signature: _metadataBuilder.
GetOrAddBlob
(signature));
978
_metadataBuilder.AddMarshallingDescriptor(parent: parent, descriptor: _metadataBuilder.
GetOrAddBlob
(builder));
1365
_metadataBuilder.
GetOrAddBlob
(MetadataSignatureHelper.GetMethodSignature(this, parameterTypes, returnType,
1369
MetadataTokens.GetToken(_metadataBuilder.AddStandaloneSignature(_metadataBuilder.
GetOrAddBlob
(
System.Reflection.Metadata (5)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Heaps.cs (5)
261
var result =
GetOrAddBlob
(builder);
286
var handle =
GetOrAddBlob
(builder);
304
var handle =
GetOrAddBlob
(builder);
338
resultBuilder.WriteCompressedInteger(
GetOrAddBlob
(partBuilder).GetHeapOffset());
358
var resultHandle =
GetOrAddBlob
(resultBuilder);