5 references to GetHeapOffset
Microsoft.CodeAnalysis (1)
PEWriter\MetadataWriter.DynamicAnalysis.cs (1)
346writer.WriteReference(MetadataTokens.GetHeapOffset(row.HashAlgorithm), isSmall: (sizes.GuidIndexSize == 2));
Microsoft.CodeAnalysis.Test.Utilities (3)
Metadata\DynamicAnalysisDataReader.cs (1)
275int offset = (MetadataTokens.GetHeapOffset(handle) - 1) * GuidSize;
Metadata\MetadataValidation.cs (2)
180var mvidOffset1 = mdReader1.GetHeapMetadataOffset(HeapIndex.Guid) + 16 * (MetadataTokens.GetHeapOffset(mvidIndex1) - 1); 181var mvidOffset2 = mdReader2.GetHeapMetadataOffset(HeapIndex.Guid) + 16 * (MetadataTokens.GetHeapOffset(mvidIndex2) - 1);
SemanticSearch.BuildTask (1)
GenerateFilteredReferenceAssembliesTask.cs (1)
334var mvidOffset = metadataOffset + metadataReader.GetHeapMetadataOffset(HeapIndex.Guid) + (MetadataTokens.GetHeapOffset(moduleDef.Mvid) - 1) * sizeof(Guid);