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