23 instantiations of BlobReader
Microsoft.CodeAnalysis (4)
Emit\EditAndContinueMethodDebugInformation.cs (3)
104var blobReader = new BlobReader(compressedSlotMapPtr, compressedSlotMap.Length); 217var blobReader = new BlobReader(blobPtr, compressedLambdaMap.Length); 320var blobReader = new BlobReader(ptr, compressedStateMachineStates.Length);
MetadataReader\MetadataDecoder.cs (1)
1158var blobReader = new BlobReader(ptr, signature.Length);
Microsoft.CodeAnalysis.Test.Utilities (5)
Metadata\DynamicAnalysisDataReader.cs (3)
75var reader = new BlobReader(buffer, size); 294var reader = new BlobReader(start, _blobHeapBlob.Length - offset); 296return new BlobReader(start + reader.Offset, size);
Metadata\ILValidation.cs (2)
285var reader = new BlobReader(ilPtr + offset, ilArray.Length - offset); 321var reader = new BlobReader(ilPtr + offset, ilArray.Length - offset);
SemanticSearch.BuildTask (1)
GenerateFilteredReferenceAssembliesTask.cs (1)
471var reader = new BlobReader(ptr, buffer.Length);
System.Reflection.Metadata (13)
System\Reflection\Internal\MemoryBlocks\AbstractMemoryBlock.cs (1)
24public unsafe BlobReader GetReader() => new BlobReader(Pointer, Size);
System\Reflection\Metadata\BlobContentId.cs (1)
56var reader = new BlobReader(ptr, id.Length);
System\Reflection\Metadata\IL\MethodBodyBlock.cs (1)
80return new BlobReader(_il);
System\Reflection\Metadata\Internal\BlobHeap.cs (1)
136return new BlobReader(GetMemoryBlock(handle));
System\Reflection\Metadata\Internal\StringHeap.cs (1)
228return new BlobReader(GetMemoryBlock(handle));
System\Reflection\Metadata\MetadataReader.cs (3)
102var headerReader = new BlobReader(Block); 121var tableReader = new BlobReader(metadataTableStream); 524var reader = new BlobReader(pdbStreamBlock);
System\Reflection\Metadata\MetadataReader.WinMD.cs (1)
619BlobReader sig = new BlobReader(BlobHeap.GetMemoryBlock(blob));
System\Reflection\Metadata\PortablePdb\ImportDefinitionCollection.cs (1)
43_reader = new BlobReader(block);
System\Reflection\Metadata\PortablePdb\SequencePointCollection.cs (1)
47_reader = new BlobReader(block);
System\Reflection\PortableExecutable\PEMemoryBlock.cs (2)
41return new BlobReader(Pointer, Length); 51return new BlobReader(Pointer + start, length);
236 references to BlobReader
BuildValidator (5)
PEReaderExtensions.cs (5)
32BlobReader exportTableHeader = peImage.GetReader(peReader.GetOffset(exportTable.RelativeVirtualAddress), exportTable.Size); 62BlobReader addressTableReader = peImage.GetReader(peReader.GetOffset(addressTableRVA), sizeof(int) * addressEntryCount); 69BlobReader ordinalTableReader = peImage.GetReader(peReader.GetOffset(ordinalTableRVA), sizeof(ushort) * namePointerCount); 76BlobReader namePointerReader = peImage.GetReader(peReader.GetOffset(namePointerRVA), sizeof(int) * namePointerCount); 83BlobReader nameReader = peImage.GetReader(nameOffset, peImage.Length - nameOffset);
Microsoft.Cci.Extensions (1)
Extensions\CSharp\CSharpCciExtensions.cs (1)
918BlobReader blob = reader.GetBlobReader(handle);
Microsoft.CodeAnalysis (76)
Compilation\RebuildData.cs (2)
20internal BlobReader OptionsBlobReader { get; } 23BlobReader optionsBlobReader,
DiagnosticAnalyzer\AnalyzerFileReference.cs (3)
288BlobReader argsReader = peModule.GetMemoryReaderOrThrow(peModule.GetCustomAttributeValueOrThrow(customAttrHandle)); 296BlobReader argsReader = peModule.GetMemoryReaderOrThrow(peModule.GetCustomAttributeValueOrThrow(customAttrHandle)); 311private static ImmutableArray<string> ReadLanguagesFromAttribute(ref BlobReader argsReader)
Emit\EditAndContinueMethodDebugInformation.cs (3)
104var blobReader = new BlobReader(compressedSlotMapPtr, compressedSlotMap.Length); 217var blobReader = new BlobReader(blobPtr, compressedLambdaMap.Length); 320var blobReader = new BlobReader(ptr, compressedStateMachineStates.Length);
MetadataReader\MetadataDecoder.cs (35)
108(KeyValuePair<string, TypedConstant> nameValuePair, bool isProperty, SerializationTypeCode typeCode, SerializationTypeCode elementTypeCode) DecodeCustomAttributeNamedArgumentOrThrow(ref BlobReader argReader); 178BlobReader memoryReader = this.Module.GetTypeSpecificationSignatureReaderOrThrow(typeSpec); 197private TypeSymbol DecodeTypeOrThrow(ref BlobReader ppSig, out bool refersToNoPiaLocalType) 205private TypeSymbol DecodeTypeOrThrow(ref BlobReader ppSig, SignatureTypeCode typeCode, out bool refersToNoPiaLocalType) 384private TypeSymbol DecodeGenericTypeInstanceOrThrow(ref BlobReader ppSig, out bool refersToNoPiaLocalType) 732ref BlobReader signatureReader, 769private TypeSymbol DecodeModifierTypeOrThrow(ref BlobReader signatureReader) 799BlobReader memoryReader = this.Module.GetTypeSpecificationSignatureReaderOrThrow((TypeSpecificationHandle)token); 850internal ImmutableArray<LocalInfo<TypeSymbol>> DecodeLocalSignatureOrThrow(ref BlobReader signatureReader) 915var memoryReader = this.Module.GetTypeSpecificationSignatureReaderOrThrow((TypeSpecificationHandle)token); 940internal LocalInfo<TypeSymbol> DecodeLocalVariableOrThrow(ref BlobReader signatureReader) 987internal void DecodeLocalConstantBlobOrThrow(ref BlobReader sigReader, out TypeSymbol type, out ConstantValue value) 1057private static ConstantValue DecodePrimitiveConstantValue(ref BlobReader sigReader, SignatureTypeCode typeCode, out bool isEnumTypeCode) 1142var signatureReader = Module.MetadataReader.GetBlobReader(signatureHandle); 1158var blobReader = new BlobReader(ptr, signature.Length); 1182var blobReader = reader.GetBlobReader(signature); 1187private void DecodeParameterOrThrow(ref BlobReader signatureReader, /*out*/ ref ParamInfo<TypeSymbol> info) 1213BlobReader signatureReader = DecodeSignatureHeaderOrThrow(signature, out signatureHeader); 1261BlobReader signatureReader = DecodeSignatureHeaderOrThrow(module, signature, out signatureHeader); 1274BlobReader signatureReader = DecodeSignatureHeaderOrThrow(signature, out signatureHeader); 1318private void DecodeCustomAttributeFieldOrPropTypeOrThrow(ref BlobReader argReader, out SerializationTypeCode typeCode, out TypeSymbol type, out SerializationTypeCode elementTypeCode, out TypeSymbol elementType, bool isElementType) 1402private TypedConstant DecodeCustomAttributeFixedArgumentOrThrow(ITypeSymbolInternal type, ref BlobReader argReader) 1437private TypedConstant DecodeCustomAttributeElementOrThrow(ref BlobReader argReader, SerializationTypeCode typeCode, TypeSymbol type) 1457private TypedConstant DecodeCustomAttributeElementArrayOrThrow(ref BlobReader argReader, SerializationTypeCode elementTypeCode, TypeSymbol elementType, TypeSymbol arrayType) 1484private TypedConstant DecodeCustomAttributePrimitiveElementOrThrow(ref BlobReader argReader, SerializationTypeCode typeCode, TypeSymbol type) 1554public (KeyValuePair<string, TypedConstant> nameValuePair, bool isProperty, SerializationTypeCode typeCode, SerializationTypeCode elementTypeCode) DecodeCustomAttributeNamedArgumentOrThrow(ref BlobReader argReader) 1637BlobReader argsReader = Module.GetMemoryReaderOrThrow(Module.GetCustomAttributeValueOrThrow(handle)); 1746var signatureReader = DecodeSignatureHeaderOrThrow(signature, out signatureHeader); 1769internal BlobReader DecodeSignatureHeaderOrThrow(BlobHandle signature, out SignatureHeader signatureHeader) 1775internal static BlobReader DecodeSignatureHeaderOrThrow(PEModule module, BlobHandle signature, out SignatureHeader signatureHeader) 1777BlobReader reader = module.GetMemoryReaderOrThrow(signature); 1783protected ParamInfo<TypeSymbol>[] DecodeSignatureParametersOrThrow(ref BlobReader signatureReader, SignatureHeader signatureHeader, out int typeParameterCount, bool shouldProcessAllBytes = true, bool isFunctionPointerSignature = false) 1821private static void GetSignatureCountsOrThrow(ref BlobReader signatureReader, SignatureHeader signatureHeader, out int parameterCount, out int typeParameterCount) 1837BlobReader signatureReader = DecodeSignatureHeaderOrThrow(signature, out signatureHeader); 1855protected FieldInfo<TypeSymbol> DecodeFieldSignature(ref BlobReader signatureReader)
MetadataReader\PEModule.cs (32)
98private delegate bool AttributeValueExtractor<T>(out T value, ref BlobReader sigReader); 491internal BlobReader GetMemoryReaderOrThrow(BlobHandle blob) 1276if (!TryGetAttributeReader(attributeInfo.Handle, out var sig)) 1300static (string? urlFormat, string? message) crackUrlFormatAndMessage(IAttributeNamedArgumentDecoder decoder, ref BlobReader sig) 1351if (!info.HasValue || !TryGetAttributeReader(info.Handle, out BlobReader sigReader) || !CrackStringInAttributeValue(out string? featureName, ref sigReader)) 1403if (!info.HasValue || info.SignatureIndex != 0 || !TryGetAttributeReader(info.Handle, out BlobReader sigReader)) 1510if (TryGetAttributeReader(info.Handle, out BlobReader sigReader) && CrackIntInAttributeValue(out int validOn, ref sigReader)) 1751if (!TryGetAttributeReader(attributeInfo.Handle, out var sig)) 1788private bool TryGetAttributeReader(CustomAttributeHandle handle, out BlobReader blobReader) 2007BlobReader reader = MetadataReader.GetBlobReader(valueBlob); 2105BlobReader reader = MetadataReader.GetBlobReader(valueBlob); 2139private static (string? diagnosticId, string? urlFormat) CrackObsoleteProperties(ref BlobReader sig, IAttributeNamedArgumentDecoder decoder) 2173private static bool CrackDeprecatedAttributeData([NotNullWhen(true)] out ObsoleteAttributeData? value, ref BlobReader sig) 2186private static bool CrackIntAndIntInAttributeValue(out (int, int) value, ref BlobReader sig) 2199private static bool CrackStringAndIntInAttributeValue(out StringAndInt value, ref BlobReader sig) 2207private static bool CrackStringAndStringInAttributeValue(out (string?, string?) value, ref BlobReader sig) 2220internal static bool CrackStringInAttributeValue(out string? value, ref BlobReader sig) 2248internal static bool CrackStringArrayInAttributeValue(out ImmutableArray<string?> value, ref BlobReader sig) 2292private static bool CrackBoolAndStringArrayInAttributeValue(out BoolAndStringArrayData value, ref BlobReader sig) 2305private static bool CrackBoolAndStringInAttributeValue(out BoolAndStringData value, ref BlobReader sig) 2318private static bool CrackBoolAndBoolInAttributeValue(out (bool, bool) value, ref BlobReader sig) 2331private static bool CrackBooleanInAttributeValue(out bool value, ref BlobReader sig) 2343private static bool CrackByteInAttributeValue(out byte value, ref BlobReader sig) 2355private static bool CrackShortInAttributeValue(out short value, ref BlobReader sig) 2367private static bool CrackIntInAttributeValue(out int value, ref BlobReader sig) 2379private static bool CrackLongInAttributeValue(out long value, ref BlobReader sig) 2392private static bool CrackDecimalInDecimalConstantAttribute(out decimal value, ref BlobReader sig) 2414private static bool CrackBoolArrayInAttributeValue(out ImmutableArray<bool> value, ref BlobReader sig) 2443private static bool CrackByteArrayInAttributeValue(out ImmutableArray<byte> value, ref BlobReader sig) 2923BlobReader sig = metadataReader.GetBlobReader(GetMethodSignatureOrThrow(metadataReader, ctor)); 3256internal BlobReader GetTypeSpecificationSignatureReaderOrThrow(TypeSpecificationHandle typeSpec) 3699BlobReader reader = MetadataReader.GetBlobReader(constantRow.Value);
PEWriter\MetadataWriter.PortablePdb.cs (1)
881var reader = rebuildData.OptionsBlobReader;
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\MemberRefMetadataDecoder.cs (1)
143BlobReader signaturePointer = this.DecodeSignatureHeaderOrThrow(signatureHandle, out signatureHeader);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (4)
PDB\CSharpDeterministicBuildCompilationTests.cs (3)
33BlobReader compilationOptionsBlobReader, 84var metadataReferenceReader = DeterministicBuildCompilationTestHelpers.GetSingleBlob(PortableCustomDebugInfoKinds.CompilationMetadataReferences, pdbReader); 85var compilationOptionsReader = DeterministicBuildCompilationTestHelpers.GetSingleBlob(PortableCustomDebugInfoKinds.CompilationOptions, pdbReader);
PDB\TypeDefinitionDocumentTests.cs (1)
494var reader = pdbReader.GetBlobReader(value);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Attributes\AttributeTests_Tuples.cs (2)
881var argsReader = reader.GetBlobReader(attr.Value); 978var argsReader = reader.GetBlobReader(attr.Value);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (7)
EESymbolProvider.cs (1)
28public abstract void DecodeLocalConstant(ref BlobReader reader, out TTypeSymbol type, out ConstantValue value);
PDB\MethodDebugInfo.Portable.cs (6)
204var sigReader = reader.GetBlobReader(constant.Signature); 249private static string ReadUtf8String(ref BlobReader reader) 449private static ImmutableArray<bool> DecodeDynamicFlags(BlobReader reader) 466private static ImmutableArray<string?> DecodeTupleElementNames(BlobReader reader) 478private static ImmutableArray<HoistedLocalScopeRecord> DecodeHoistedLocalScopes(BlobReader reader) 494private static string DecodeDefaultNamespace(BlobReader reader)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (7)
MetadataDecoder.cs (7)
35var signatureReader = _reader.GetBlobReader(methodDef.Signature); 49private ParameterSignature DecodeParameter(ref BlobReader signatureReader) 72private TypeSignature DecodeType(ref BlobReader signatureReader, SignatureTypeCode typeCode) 123private TypeSignature DecodeModifiersAndType(ref BlobReader signatureReader) 141ref BlobReader signatureReader, 156private TypeSignature DecodeGenericTypeInstance(ref BlobReader signatureReader) 172private ImmutableArray<TypeSignature> DecodeGenericTypeArguments(ref BlobReader signatureReader)
Microsoft.CodeAnalysis.Features (3)
PdbSourceDocument\DocumentDebugInfoReader.cs (2)
75var blobReader = _pdbReader.GetBlobReader(cdi.Value); 115var blobReader = _pdbReader.GetBlobReader(customDebugInformation.Value);
PdbSourceDocument\SymbolSourceDocumentFinder.cs (1)
165var reader = pdbReader.GetBlobReader(cdi.Value);
Microsoft.CodeAnalysis.Rebuild (11)
CompilationOptionsReader.cs (10)
59public bool TryGetMetadataCompilationOptionsBlobReader(out BlobReader reader) 64public BlobReader GetMetadataCompilationOptionsBlobReader() 66if (!TryGetMetadataCompilationOptionsBlobReader(out var reader)) 75if (_metadataCompilationOptions is null && TryGetMetadataCompilationOptionsBlobReader(out var optionsBlob)) 88var optionsBlob = GetMetadataCompilationOptionsBlobReader(); 127if (_sourceLinkUtf8 is null && TryGetCustomDebugInformationBlobReader(SourceLinkGuid, out var optionsBlob)) 255var reader = metadataReader.GetBlobReader(blob); 350if (!TryGetCustomDebugInformationBlobReader(MetadataReferenceInfoGuid, out var blobReader)) 427private bool TryGetCustomDebugInformationBlobReader(Guid infoGuid, out BlobReader blobReader) 446private static ImmutableArray<(string, string)> ParseCompilationOptions(BlobReader blobReader)
Extensions.cs (1)
15internal static void SkipNullTerminator(ref this BlobReader blobReader)
Microsoft.CodeAnalysis.Test.Utilities (28)
Metadata\DynamicAnalysisDataReader.cs (13)
75var reader = new BlobReader(buffer, size); 182BlobReader tmpresource = peImage.GetReader(start, peImage.Length - start); 192private static int ReadReference(ref BlobReader reader, bool smallRefSize) 206var reader = GetBlobReader(handle); 286var reader = GetBlobReader(handle); 290private BlobReader GetBlobReader(BlobHandle handle) 294var reader = new BlobReader(start, _blobHeapBlob.Length - offset); 301var blobReader = GetBlobReader(handle); 320var partReader = GetBlobReader(blobReader.ReadBlobHandle()); 330private void ReadDeltaLinesAndColumns(ref BlobReader reader, out int deltaLines, out int deltaColumns) 336private int ReadLine(ref BlobReader reader) 341private ushort ReadColumn(ref BlobReader reader) 374private int ReadDocumentRowId(ref BlobReader reader)
Metadata\ILValidation.cs (2)
285var reader = new BlobReader(ilPtr + offset, ilArray.Length - offset); 321var reader = new BlobReader(ilPtr + offset, ilArray.Length - offset);
Metadata\MetadataReaderUtils.cs (9)
179private delegate T ReadBlobItemDelegate<T>(ref BlobReader blobReader); 183var blobReader = reader.GetBlobReader(blobHandle); 198return ReadArray(reader, blobHandle, (ref BlobReader blobReader) => blobReader.ReadByte()); 203return ReadArray(reader, blobHandle, (ref BlobReader blobReader) => blobReader.ReadBoolean()); 350var blob = reader.GetBlobReader(method.Signature); 359var blob = reader.GetBlobReader(member.Signature); 375var blob = reader.GetBlobReader(field.Signature); 384var blob = reader.GetBlobReader(typeSpec.Signature); 458var sigReader = reader.GetBlobReader(reader.GetTypeSpecification(handle).Signature);
PDB\DeterministicBuildCompilationTestHelpers.cs (4)
76public static void VerifyReferenceInfo(TestMetadataReferenceInfo[] references, TargetFramework targetFramework, BlobReader metadataReferenceReader) 97public static BlobReader GetSingleBlob(Guid infoGuid, MetadataReader pdbReader) 105public static MetadataReferenceInfo ParseMetadataReferenceInfo(ref BlobReader blobReader) 152public static ImmutableDictionary<string, string> ParseCompilationOptions(BlobReader blobReader)
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (1)
119Dim signaturePointer As BlobReader = Me.DecodeSignatureHeaderOrThrow(signatureHandle, signatureHeader)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
PDB\VisualBasicDeterministicBuildCompilationTests.vb (1)
21Private Sub VerifyCompilationOptions(originalOptions As VisualBasicCompilationOptions, compilationOptionsBlobReader As BlobReader, emitOptions As EmitOptions, compilation As VisualBasicCompilation)
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (1)
VisualBasicEESymbolProvider.vb (1)
64Public Overrides Sub DecodeLocalConstant(ByRef reader As BlobReader, ByRef type As TypeSymbol, ByRef value As ConstantValue)
Microsoft.CodeAnalysis.Workspaces (5)
FindSymbols\SymbolTree\SymbolTreeInfo.FirstEntityHandleProvider.cs (1)
30var sigReader = reader.GetBlobReader(reader.GetTypeSpecification(handle).Signature);
FindSymbols\SymbolTree\SymbolTreeInfo.Node.cs (1)
146var sigReader = reader.GetBlobReader(reader.GetTypeSpecification(handle).Signature);
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (3)
56var blobReader = reader.GetBlobReader(name); 449var blob = metadataReader.GetBlobReader(method.Signature); 628var blobReader = metadataReader.GetBlobReader(namespaceHandle);
SemanticSearch.BuildTask (1)
GenerateFilteredReferenceAssembliesTask.cs (1)
471var reader = new BlobReader(ptr, buffer.Length);
System.Diagnostics.FileVersionInfo (2)
System\Diagnostics\FileVersionInfo.Unix.cs (2)
305BlobReader signatureReader = reader.GetBlobReader(signature); 306BlobReader valueReader = reader.GetBlobReader(attr.Value);
System.Reflection.Metadata (72)
System\Reflection\Internal\MemoryBlocks\AbstractMemoryBlock.cs (1)
24public unsafe BlobReader GetReader() => new BlobReader(Pointer, Size);
System\Reflection\Internal\Utilities\MemoryBlock.cs (4)
141/// Value between 0 and 0x1fffffff, or <see cref="BlobReader.InvalidCompressedInteger"/> if the value encoding is invalid. 153return BlobReader.InvalidCompressedInteger; 180return BlobReader.InvalidCompressedInteger; 855if (numberOfBytes == BlobReader.InvalidCompressedInteger)
System\Reflection\Metadata\BlobContentId.cs (1)
56var reader = new BlobReader(ptr, id.Length);
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (13)
49BlobReader signatureReader = _reader.GetBlobReader(signature); 50BlobReader valueReader = _reader.GetBlobReader(value); 71BlobReader genericContextReader = default; 102private ImmutableArray<CustomAttributeTypedArgument<TType>> DecodeFixedArguments(ref BlobReader signatureReader, ref BlobReader valueReader, int count, BlobReader genericContextReader) 120private ImmutableArray<CustomAttributeNamedArgument<TType>> DecodeNamedArguments(ref BlobReader valueReader) 161private ArgumentTypeInfo DecodeFixedArgumentType(ref BlobReader signatureReader, BlobReader genericContextReader, bool isElementType = false) 241private ArgumentTypeInfo DecodeNamedArgumentType(ref BlobReader valueReader, bool isElementType = false) 300private CustomAttributeTypedArgument<TType> DecodeArgument(ref BlobReader valueReader, ArgumentTypeInfo info) 380private ImmutableArray<CustomAttributeTypedArgument<TType>>? DecodeArrayArgument(ref BlobReader blobReader, ArgumentTypeInfo info) 422private static void SkipType(ref BlobReader blobReader)
System\Reflection\Metadata\Ecma335\SignatureDecoder.cs (11)
53public TType DecodeType(ref BlobReader blobReader, bool allowTypeSpecifications = false) 58private TType DecodeType(ref BlobReader blobReader, bool allowTypeSpecifications, int typeCode) 137private ImmutableArray<TType> DecodeTypeSequence(ref BlobReader blobReader) 164public MethodSignature<TType> DecodeMethodSignature(ref BlobReader blobReader) 216public ImmutableArray<TType> DecodeMethodSpecificationSignature(ref BlobReader blobReader) 229public ImmutableArray<TType> DecodeLocalSignature(ref BlobReader blobReader) 241public TType DecodeFieldSignature(ref BlobReader blobReader) 248private TType DecodeArrayType(ref BlobReader blobReader) 283private TType DecodeGenericTypeInstance(ref BlobReader blobReader) 290private TType DecodeModifiedType(ref BlobReader blobReader, bool isRequired) 298private TType DecodeTypeHandle(ref BlobReader blobReader, byte rawTypeKind, bool allowTypeSpecifications)
System\Reflection\Metadata\IL\MethodBodyBlock.cs (4)
78public BlobReader GetILReader() 94public static MethodBodyBlock Create(BlobReader reader) 192private static ImmutableArray<ExceptionRegion> ReadSmallExceptionHandlers(ref BlobReader memReader, int count) 209private static ImmutableArray<ExceptionRegion> ReadFatExceptionHandlers(ref BlobReader memReader, int count)
System\Reflection\Metadata\Internal\BlobHeap.cs (5)
99if (numberOfBytes == BlobReader.InvalidCompressedInteger) 134internal BlobReader GetBlobReader(BlobHandle handle) 187var blobReader = GetBlobReader(handle); 206var partReader = GetBlobReader(blobReader.ReadBlobHandle()); 217var blobReader = GetBlobReader(handle);
System\Reflection\Metadata\Internal\StringHeap.cs (1)
226internal BlobReader GetBlobReader(StringHandle handle)
System\Reflection\Metadata\MetadataReader.cs (9)
102var headerReader = new BlobReader(Block); 121var tableReader = new BlobReader(metadataTableStream); 178private void ReadMetadataHeader(ref BlobReader memReader, out string versionString) 235private static StreamHeader[] ReadStreamHeaders(ref BlobReader memReader) 432private void ReadMetadataTableHeader(ref BlobReader reader, out HeapSizes heapSizes, out int[] metadataTableRowCounts, out TableMask sortedTables) 492private static int[] ReadMetadataTableRowCounts(ref BlobReader memReader, ulong presentTableMask) 524var reader = new BlobReader(pdbStreamBlock); 1088public BlobReader GetBlobReader(BlobHandle handle) 1093public BlobReader GetBlobReader(StringHandle handle)
System\Reflection\Metadata\MetadataReader.WinMD.cs (1)
619BlobReader sig = new BlobReader(BlobHeap.GetMemoryBlock(blob));
System\Reflection\Metadata\PortablePdb\ImportDefinitionCollection.cs (1)
38private BlobReader _reader;
System\Reflection\Metadata\PortablePdb\SequencePointCollection.cs (1)
40private BlobReader _reader;
System\Reflection\Metadata\TypeSystem\CustomAttribute.cs (1)
150var rawBlobReader = _reader.GetBlobReader(rawBlob);
System\Reflection\Metadata\TypeSystem\FieldDefinition.cs (1)
82var blob = _reader.GetBlobReader(Signature);
System\Reflection\Metadata\TypeSystem\MemberReference.cs (3)
88var blobReader = _reader.GetBlobReader(Signature); 95var blobReader = _reader.GetBlobReader(Signature); 105BlobReader blobReader = _reader.GetBlobReader(this.Signature);
System\Reflection\Metadata\TypeSystem\MethodDefinition.cs (1)
69var blobReader = _reader.GetBlobReader(Signature);
System\Reflection\Metadata\TypeSystem\MethodSpecification.cs (1)
56var blobReader = _reader.GetBlobReader(Signature);
System\Reflection\Metadata\TypeSystem\PropertyDefinition.cs (1)
58var blobReader = _reader.GetBlobReader(Signature);
System\Reflection\Metadata\TypeSystem\StandaloneSignature.cs (3)
42var blobReader = _reader.GetBlobReader(Signature); 49var blobReader = _reader.GetBlobReader(Signature); 64BlobReader blobReader = _reader.GetBlobReader(this.Signature);
System\Reflection\Metadata\TypeSystem\TypeSpecification.cs (1)
38var blobReader = _reader.GetBlobReader(Signature);
System\Reflection\PortableExecutable\PEMemoryBlock.cs (4)
37/// Creates <see cref="BlobReader"/> for a blob spanning the entire block. 39public unsafe BlobReader GetReader() 45/// Creates <see cref="BlobReader"/> for a blob spanning a part of the block. 48public unsafe BlobReader GetReader(int start, int length)
System\Reflection\PortableExecutable\PEReader.cs (3)
564internal static ImmutableArray<DebugDirectoryEntry> ReadDebugDirectoryEntries(BlobReader reader) 622var reader = block.GetReader(); 662var reader = block.GetReader();
System\Reflection\PortableExecutable\PEReader.EmbeddedPortablePdb.cs (1)
73var headerReader = block.GetReader();
System.Reflection.MetadataLoadContext (8)
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (1)
181BlobReader br = blobHandle.GetBlobReader(reader);
System\Reflection\TypeLoading\General\Ecma\EcmaDefaultValueProcessing.cs (1)
25BlobReader reader = metadataReader.GetBlobReader(constantValue.Value);
System\Reflection\TypeLoading\General\Ecma\EcmaHelpers.cs (1)
114BlobReader br = handle.GetBlobReader(reader);
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (3)
17public static BlobReader GetBlobReader(this BlobHandle handle, MetadataReader reader) => reader.GetBlobReader(handle); 18public static BlobReader GetBlobReader(this StringHandle handle, MetadataReader reader) => reader.GetBlobReader(handle); 86BlobReader br = handle.GetBlobReader(reader);
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
51BlobReader signatureBlob = MethodDefinition.Signature.GetBlobReader(Reader);
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.ManifestResources.cs (1)
35BlobReader blobReader = resourceDirectory.GetReader((int)resource.Offset, resourceDirectory.Length - (int)resource.Offset);