64 references to GetBlobBytes
Microsoft.Build.Tasks.Core (1)
AssemblyDependency\AssemblyInformation.cs (1)
553var publicKeyOrToken = metadataReader.GetBlobBytes(entry.PublicKeyOrToken);
Microsoft.CodeAnalysis (4)
Compilation\DeterministicKeyBuilder.cs (1)
355WriteByteArrayValue(writer, "publicKey", peReader.GetBlobBytes(assemblyDef.PublicKey).AsSpan());
MetadataReader\PEModule.cs (2)
3460signature = MetadataReader.GetBlobBytes(row.Signature); 3669return MetadataReader.GetBlobBytes(blob).AsImmutableOrNull();
MetadataReference\AssemblyIdentityUtils.cs (1)
37? metadataReader.GetBlobBytes(publicKeyHandle).AsImmutableOrNull()
Microsoft.CodeAnalysis.CodeStyle (1)
src\Compilers\Core\Portable\MetadataReference\AssemblyIdentityUtils.cs (1)
37? metadataReader.GetBlobBytes(publicKeyHandle).AsImmutableOrNull()
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\EditAndContinue\EditAndContinueTestBase.cs (1)
226var attributeData = readers[blobGeneration].GetBlobBytes(genHandle);
PDB\PortablePdbTests.cs (1)
74var spBlob = pdbReader.GetBlobBytes(methodDebugInfo.SequencePointsBlob);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (16)
Attributes\AttributeTests_Assembly.cs (14)
606reader.GetBlobBytes(file1.HashValue)); 610reader.GetBlobBytes(file2.HashValue)); 637reader.GetBlobBytes(file1.HashValue)); 641reader.GetBlobBytes(file2.HashValue)); 667reader.GetBlobBytes(file1.HashValue)); 671reader.GetBlobBytes(file2.HashValue)); 697reader.GetBlobBytes(file1.HashValue)); 701reader.GetBlobBytes(file2.HashValue)); 725reader.GetBlobBytes(file1.HashValue)); 730reader.GetBlobBytes(file2.HashValue)); 756reader.GetBlobBytes(file1.HashValue)); 762reader.GetBlobBytes(file2.HashValue)); 790reader.GetBlobBytes(file1.HashValue)); 797reader.GetBlobBytes(file2.HashValue));
Attributes\AttributeTests_WellKnownAttributes.cs (2)
1126var actual = metadataReader.GetBlobBytes(constant.Value); 1211var actual = metadataReader.GetBlobBytes(constant.Value);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
EmitMetadataTestBase.cs (1)
109var actualPermissionSetBytes = metadataReader.GetBlobBytes(actual.PermissionSet);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
PDB\MethodDebugInfo.Portable.cs (1)
242var bytes = reader.GetBlobBytes(handle);
Microsoft.CodeAnalysis.Features (1)
PdbSourceDocument\DocumentDebugInfoReader.cs (1)
99return _pdbReader.GetBlobBytes(cdi.Value);
Microsoft.CodeAnalysis.Rebuild (2)
CompilationOptionsReader.cs (2)
191var hash = PdbReader.GetBlobBytes(document.Hash); 202select PdbReader.GetBlobBytes(cdi.Value)).SingleOrDefault();
Microsoft.CodeAnalysis.Test.Utilities (2)
Metadata\MetadataValidation.cs (2)
94byte[] actualBlob = metadataReader.GetBlobBytes(descriptor); 124byte[] actualBlob = metadataReader.GetBlobBytes(descriptor);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (28)
Semantics\FieldInitializerBindingTests.vb (28)
907Dim actual = reader.GetBlobBytes(constant.Value) 979AssertEx.Equal(_ZERO4, reader.GetBlobBytes(constant.Value)) 982reader.GetBlobBytes(field.Signature)) 987AssertEx.Equal(_ZERO4, reader.GetBlobBytes(constant.Value)) 990reader.GetBlobBytes(field.Signature)) 995AssertEx.Equal(_ZERO1, reader.GetBlobBytes(constant.Value)) 998reader.GetBlobBytes(field.Signature)) 1003AssertEx.Equal(_ZERO1, reader.GetBlobBytes(constant.Value)) 1006reader.GetBlobBytes(field.Signature)) 1011AssertEx.Equal(_ONE4, reader.GetBlobBytes(constant.Value)) 1014reader.GetBlobBytes(field.Signature)) 1019AssertEx.Equal(_ONE1, reader.GetBlobBytes(constant.Value)) 1022reader.GetBlobBytes(field.Signature)) 1027AssertEx.Equal(_ZERO4, reader.GetBlobBytes(constant.Value)) 1029AssertAnyValueType(reader.GetBlobBytes(field.Signature)) 1034AssertEx.Equal(_ZERO1, reader.GetBlobBytes(constant.Value)) 1036AssertAnyValueType(reader.GetBlobBytes(field.Signature)) 1041AssertEx.Equal(_ZERO4, reader.GetBlobBytes(constant.Value)) 1043AssertAnyValueType(reader.GetBlobBytes(field.Signature)) 1048AssertEx.Equal(_ONE4, reader.GetBlobBytes(constant.Value)) 1050AssertAnyValueType(reader.GetBlobBytes(field.Signature)) 1055AssertEx.Equal(_ZERO1, reader.GetBlobBytes(constant.Value)) 1057AssertAnyValueType(reader.GetBlobBytes(field.Signature)) 1062AssertEx.Equal(_ONE1, reader.GetBlobBytes(constant.Value)) 1064AssertAnyValueType(reader.GetBlobBytes(field.Signature)) 1320AssertEx.Equal(_ZERO4, reader.GetBlobBytes(constant.Value)) 1325AssertEx.Equal(_ZERO4, reader.GetBlobBytes(constant.Value)) 1330AssertEx.Equal(_ONE4, reader.GetBlobBytes(constant.Value))
Microsoft.CodeAnalysis.Workspaces (1)
src\Compilers\Core\Portable\MetadataReference\AssemblyIdentityUtils.cs (1)
37? metadataReader.GetBlobBytes(publicKeyHandle).AsImmutableOrNull()
Roslyn.Test.PdbUtilities (1)
Shared\DummyMetadataImport.cs (1)
64var signature = _metadataReaderOpt.GetBlobBytes(sig.Signature);
System.Reflection.Metadata (2)
System\Reflection\Metadata\MetadataReader.cs (1)
1084byte[]? bytes = GetBlobBytes(handle);
System\Reflection\Metadata\MetadataReader.netstandard.cs (1)
21byte[]? publicKeyOrToken = !publicKeyOrTokenHandle.IsNil ? GetBlobBytes(publicKeyOrTokenHandle) : Array.Empty<byte>();
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (1)
15public static byte[] GetBlobBytes(this BlobHandle handle, MetadataReader reader) => reader.GetBlobBytes(handle);