7 references to GetOrAddBlob
Microsoft.CodeAnalysis (1)
PEWriter\MetadataWriter.PortablePdb.cs (1)
865
value: _debugMetadataOpt.
GetOrAddBlob
(bytes));
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenFunctionPointersTests.cs (1)
12615
publicKey: metadata.
GetOrAddBlob
(new byte[0]),
System.Reflection.Emit (5)
System\Reflection\Emit\ModuleBuilderImpl.cs (4)
606
hash: hash == null ? default : _pdbBuilder.
GetOrAddBlob
(hash),
686
_metadataBuilder.
GetOrAddBlob
(customAttribute.Data));
992
publicKeyOrToken: (publicKeyToken == null) ? default : _metadataBuilder.
GetOrAddBlob
(publicKeyToken),
1361
MetadataTokens.GetToken(_metadataBuilder.AddStandaloneSignature(_metadataBuilder.
GetOrAddBlob
(signature.GetSignature())));
System\Reflection\Emit\PersistedAssemblyBuilder.cs (1)
158
publicKey: _assemblyName.GetPublicKey() is byte[] publicKey ? _metadataBuilder.
GetOrAddBlob
(value: publicKey) : default,