82 references to ReadCompressedInteger
Microsoft.CodeAnalysis (16)
Emit\EditAndContinueMethodDebugInformation.cs (12)
115syntaxOffsetBaseline = -blobReader.ReadCompressedInteger(); 129int syntaxOffset = blobReader.ReadCompressedInteger() + syntaxOffsetBaseline; 131int ordinal = hasOrdinal ? blobReader.ReadCompressedInteger() : 0; 223methodOrdinal = blobReader.ReadCompressedInteger() - 1; 225int syntaxOffsetBaseline = -blobReader.ReadCompressedInteger(); 227int closureCount = blobReader.ReadCompressedInteger(); 231int syntaxOffset = blobReader.ReadCompressedInteger(); 239int syntaxOffset = blobReader.ReadCompressedInteger(); 240int closureOrdinal = blobReader.ReadCompressedInteger() + LambdaDebugInfo.MinClosureOrdinal; 324int count = blobReader.ReadCompressedInteger(); 327int syntaxOffsetBaseline = -blobReader.ReadCompressedInteger(); 334int syntaxOffset = syntaxOffsetBaseline + blobReader.ReadCompressedInteger();
MetadataReader\MetadataDecoder.cs (4)
1561var kind = (CustomAttributeNamedArgumentKind)argReader.ReadCompressedInteger(); 1752int argumentCount = signatureReader.ReadCompressedInteger(); 1824typeParameterCount = signatureHeader.IsGeneric ? signatureReader.ReadCompressedInteger() : 0; 1827parameterCount = signatureReader.ReadCompressedInteger();
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
PDB\TypeDefinitionDocumentTests.cs (1)
497var documentRow = reader.ReadCompressedInteger();
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (3)
MetadataDecoder.cs (3)
37var typeParameterCount = signatureHeader.IsGeneric ? signatureReader.ReadCompressedInteger() : 0; 38var parameterCount = signatureReader.ReadCompressedInteger(); 145int index = signatureReader.ReadCompressedInteger();
Microsoft.CodeAnalysis.Features (1)
PdbSourceDocument\SymbolSourceDocumentFinder.cs (1)
168docList.Add(MetadataTokens.DocumentHandle(reader.ReadCompressedInteger()));
Microsoft.CodeAnalysis.Test.Utilities (6)
Metadata\DynamicAnalysisDataReader.cs (6)
295int size = reader.ReadCompressedInteger(); 332deltaLines = reader.ReadCompressedInteger(); 333deltaColumns = (deltaLines == 0) ? reader.ReadCompressedInteger() : reader.ReadCompressedSignedInteger(); 338return reader.ReadCompressedInteger(); 343int column = reader.ReadCompressedInteger(); 376int rowId = reader.ReadCompressedInteger();
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
PDB\TypeDefinitionDocumentTests.vb (1)
378Dim documentRow = reader.ReadCompressedInteger()
System.Reflection.Metadata (46)
System\Reflection\Metadata\BlobReader.cs (1)
629return BlobHandle.FromOffset(ReadCompressedInteger());
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (13)
64int parameterCount = signatureReader.ReadCompressedInteger(); 79int kind = genericContextReader.ReadCompressedInteger(); 219int parameterIndex = signatureReader.ReadCompressedInteger(); 220int numGenericParameters = genericContextReader.ReadCompressedInteger(); 424int typeCode = blobReader.ReadCompressedInteger(); 459blobReader.ReadCompressedInteger(); // arity 462int paramCount = blobReader.ReadCompressedInteger(); 470blobReader.ReadCompressedInteger(); // rank 471int boundsCount = blobReader.ReadCompressedInteger(); 474blobReader.ReadCompressedInteger(); 476int lowerBoundsCount = blobReader.ReadCompressedInteger(); 491int count = blobReader.ReadCompressedInteger(); 499blobReader.ReadCompressedInteger();
System\Reflection\Metadata\Ecma335\SignatureDecoder.cs (11)
55return DecodeType(ref blobReader, allowTypeSpecifications, blobReader.ReadCompressedInteger()); 118index = blobReader.ReadCompressedInteger(); 122index = blobReader.ReadCompressedInteger(); 139int count = blobReader.ReadCompressedInteger(); 172genericParameterCount = blobReader.ReadCompressedInteger(); 175int parameterCount = blobReader.ReadCompressedInteger(); 192int typeCode = blobReader.ReadCompressedInteger(); 253int rank = blobReader.ReadCompressedInteger(); 257int sizesCount = blobReader.ReadCompressedInteger(); 263builder.Add(blobReader.ReadCompressedInteger()); 268int lowerBoundsCount = blobReader.ReadCompressedInteger();
System\Reflection\Metadata\PortablePdb\ImportDefinitionCollection.cs (12)
69typeOrNamespace: MetadataTokens.BlobHandle(_reader.ReadCompressedInteger())); 76assembly: MetadataTokens.AssemblyReferenceHandle(_reader.ReadCompressedInteger()), 77typeOrNamespace: MetadataTokens.BlobHandle(_reader.ReadCompressedInteger())); 84alias: MetadataTokens.BlobHandle(_reader.ReadCompressedInteger())); 91alias: MetadataTokens.BlobHandle(_reader.ReadCompressedInteger()), 92assembly: MetadataTokens.AssemblyReferenceHandle(_reader.ReadCompressedInteger())); 99alias: MetadataTokens.BlobHandle(_reader.ReadCompressedInteger()), 108alias: MetadataTokens.BlobHandle(_reader.ReadCompressedInteger()), 109typeOrNamespace: MetadataTokens.BlobHandle(_reader.ReadCompressedInteger())); 116alias: MetadataTokens.BlobHandle(_reader.ReadCompressedInteger()), 117assembly: MetadataTokens.AssemblyReferenceHandle(_reader.ReadCompressedInteger()), 118typeOrNamespace: MetadataTokens.BlobHandle(_reader.ReadCompressedInteger()));
System\Reflection\Metadata\PortablePdb\MethodDebugInformation.cs (1)
55return StandaloneSignatureHandle.FromRowId(_reader.GetBlobReader(SequencePointsBlob).ReadCompressedInteger());
System\Reflection\Metadata\PortablePdb\SequencePointCollection.cs (8)
67_reader.ReadCompressedInteger(); 74offset = _reader.ReadCompressedInteger(); 80while ((deltaOffset = _reader.ReadCompressedInteger()) == 0) 128deltaLines = _reader.ReadCompressedInteger(); 129deltaColumns = (deltaLines == 0) ? _reader.ReadCompressedInteger() : _reader.ReadCompressedSignedInteger(); 134return _reader.ReadCompressedInteger(); 139int column = _reader.ReadCompressedInteger(); 183int rowId = _reader.ReadCompressedInteger();
System.Reflection.MetadataLoadContext (8)
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (8)
191ma.IidParameterIndex = br.ReadCompressedInteger(); 197ma.SizeConst = br.ReadCompressedInteger(); 201ma.ArraySubType = (UnmanagedType)br.ReadCompressedInteger(); 207ma.SizeConst = br.ReadCompressedInteger(); 212ma.SafeArraySubType = (VarEnum)br.ReadCompressedInteger(); 223ma.ArraySubType = (UnmanagedType)br.ReadCompressedInteger(); 227ma.SizeParamIndex = (short)br.ReadCompressedInteger(); 231ma.SizeConst = br.ReadCompressedInteger();