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