147 references to ReadCompressedInteger
ILCompiler.MetadataTransform (10)
ILCompiler\Metadata\Transform.Method.cs (2)
190int arity = header.IsGeneric ? blobReader.ReadCompressedInteger() : 0; 192int count = blobReader.ReadCompressedInteger();
ILCompiler\Metadata\Transform.Property.cs (1)
56int count = sigBlobReader.ReadCompressedInteger();
ILCompiler\Metadata\Transform.Type.cs (7)
437int rank = reader.ReadCompressedInteger(); 439var boundsCount = reader.ReadCompressedInteger(); 441reader.ReadCompressedInteger(); 442var lowerBoundsCount = reader.ReadCompressedInteger(); 476return HandleType(module.Context.GetSignatureVariable(reader.ReadCompressedInteger(), false)); 478return HandleType(module.Context.GetSignatureVariable(reader.ReadCompressedInteger(), true)); 486int count = reader.ReadCompressedInteger();
ILCompiler.ReadyToRun (18)
Compiler\DependencyAnalysis\ReadyToRun\ModuleTokenResolver.cs (4)
204int count = signature.ReadCompressedInteger(); 229genericParameterCount = signature.ReadCompressedInteger(); 232int parameterCount = signature.ReadCompressedInteger(); 242int typeCode = sentinelReader.ReadCompressedInteger();
Compiler\ReadyToRunMetadataFieldLayoutAlgorithm.cs (1)
517signature.ReadCompressedInteger();
IBC\IBCProfileParser.cs (13)
514EcmaModule remoteModule = ibcModule.GetModuleFromIndex(sig.ReadCompressedInteger()); 527int numTypeArgs = sig.ReadCompressedInteger(); 557return arrayElementType.MakeArrayType(sig.ReadCompressedInteger()); 612sig.ReadCompressedInteger(); 623int numTypeArgs = sig.ReadCompressedInteger(); 641sig.ReadCompressedInteger(); // rank 642int numSizes = sig.ReadCompressedInteger(); 644sig.ReadCompressedInteger(); 645int numLoBounds = sig.ReadCompressedInteger(); 647sig.ReadCompressedInteger(); 709uint flags = (uint)sig.ReadCompressedInteger(); 712int slot = sig.ReadCompressedInteger(); 721uint methodRid = (uint)sig.ReadCompressedInteger();
ILCompiler.TypeSystem (23)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaSignatureParser.cs (22)
154var rank = _reader.ReadCompressedInteger(); 158var boundsCount = _reader.ReadCompressedInteger(); 161bounds[i] = _reader.ReadCompressedInteger(); 163var lowerBoundsCount = _reader.ReadCompressedInteger(); 185var boundsCount = _reader.ReadCompressedInteger(); 187_reader.ReadCompressedInteger(); 188var lowerBoundsCount = _reader.ReadCompressedInteger(); 215return _tsc.GetSignatureVariable(_reader.ReadCompressedInteger(), false); 217return _tsc.GetSignatureVariable(_reader.ReadCompressedInteger(), true); 230TypeDesc[] instance = new TypeDesc[_reader.ReadCompressedInteger()]; 386int arity = header.IsGeneric ? _reader.ReadCompressedInteger() : 0; 388int count = _reader.ReadCompressedInteger(); 436int count = _reader.ReadCompressedInteger(); 484int count = _reader.ReadCompressedInteger(); 520int count = _reader.ReadCompressedInteger(); 557paramNum = (uint)_reader.ReadCompressedInteger(); 562numElem = (uint)_reader.ReadCompressedInteger(); 567int flag = _reader.ReadCompressedInteger(); 580numElem = (uint)_reader.ReadCompressedInteger(); 593numElem = (uint)_reader.ReadCompressedInteger(); 605_reader.ReadCompressedInteger(); 623_reader.ReadCompressedInteger();
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaSignatureTranslator.cs (1)
28int value = _input.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.Features (1)
PdbSourceDocument\SymbolSourceDocumentFinder.cs (1)
162docList.Add(MetadataTokens.DocumentHandle(reader.ReadCompressedInteger()));
Microsoft.Diagnostics.DataContractReader.Contracts (11)
Contracts\Signature\RuntimeSignatureDecoder.cs (11)
44return DecodeType(ref blobReader, allowTypeSpecifications, blobReader.ReadCompressedInteger()); 107index = blobReader.ReadCompressedInteger(); 111index = blobReader.ReadCompressedInteger(); 134int count = blobReader.ReadCompressedInteger(); 159genericParameterCount = blobReader.ReadCompressedInteger(); 162int parameterCount = blobReader.ReadCompressedInteger(); 179int typeCode = blobReader.ReadCompressedInteger(); 221int rank = blobReader.ReadCompressedInteger(); 225int sizesCount = blobReader.ReadCompressedInteger(); 231builder.Add(blobReader.ReadCompressedInteger()); 236int lowerBoundsCount = blobReader.ReadCompressedInteger();
Microsoft.Diagnostics.DataContractReader.Legacy (14)
ClrDataFrame.cs (3)
441blobReader.ReadCompressedInteger(); // skip generic arity 442uint paramCount = (uint)blobReader.ReadCompressedInteger(); 564return (uint)r.ReadCompressedInteger();
MetaDataImportImpl.cs (1)
1413int blobSize = blobReader.ReadCompressedInteger();
SigFormat.cs (10)
47signature.ReadCompressedInteger(); // Ignore generic parameter count 49int cArgs = (int)signature.ReadCompressedInteger(); 212int mvarIndex = signature.ReadCompressedInteger(); 224int varIndex = signature.ReadCompressedInteger(); 237int genericArgCount = signature.ReadCompressedInteger(); 256int rank = signature.ReadCompressedInteger(); 262int numSizes = signature.ReadCompressedInteger(); 265_ = signature.ReadCompressedInteger(); 267int numLoBounds = signature.ReadCompressedInteger(); 276int cArgs = signature.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)
51return 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();