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