15 references to GetHeapOffset
Microsoft.CodeAnalysis (13)
PEWriter\MetadataWriter.DynamicAnalysis.cs (5)
245
writer.WriteCompressedInteger(MetadataTokens.
GetHeapOffset
(partIndex));
311
int heapOffset = MetadataTokens.
GetHeapOffset
(entry.Value);
345
writer.WriteReference(MetadataTokens.
GetHeapOffset
(row.Name), isSmall: (sizes.BlobIndexSize == 2));
347
writer.WriteReference(MetadataTokens.
GetHeapOffset
(row.Hash), isSmall: (sizes.BlobIndexSize == 2));
355
writer.WriteReference(MetadataTokens.
GetHeapOffset
(row.Spans), isSmall: (sizes.BlobIndexSize == 2));
PEWriter\MetadataWriter.PortablePdb.cs (8)
328
writer.WriteCompressedInteger(MetadataTokens.
GetHeapOffset
(_debugMetadataOpt.GetOrAddBlobUTF8(alias.Name)));
342
writer.WriteCompressedInteger(MetadataTokens.
GetHeapOffset
(_debugMetadataOpt.GetOrAddBlobUTF8(import.AliasOpt)));
343
writer.WriteCompressedInteger(MetadataTokens.
GetHeapOffset
(_debugMetadataOpt.GetOrAddBlobUTF8(import.TargetXmlNamespaceOpt)));
354
writer.WriteCompressedInteger(MetadataTokens.
GetHeapOffset
(_debugMetadataOpt.GetOrAddBlobUTF8(import.AliasOpt)));
372
writer.WriteCompressedInteger(MetadataTokens.
GetHeapOffset
(_debugMetadataOpt.GetOrAddBlobUTF8(import.AliasOpt)));
388
writer.WriteCompressedInteger(MetadataTokens.
GetHeapOffset
(_debugMetadataOpt.GetOrAddBlobUTF8(import.AliasOpt)));
399
writer.WriteCompressedInteger(MetadataTokens.
GetHeapOffset
(_debugMetadataOpt.GetOrAddBlobUTF8(namespaceName)));
408
writer.WriteCompressedInteger(MetadataTokens.
GetHeapOffset
(_debugMetadataOpt.GetOrAddBlobUTF8(import.AliasOpt)));
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\DynamicAnalysisDataReader.cs (1)
292
int offset = MetadataTokens.
GetHeapOffset
(handle);
System.Reflection.Emit (1)
System\Reflection\Emit\ModuleBuilderImpl.cs (1)
564
importBlob.WriteCompressedInteger(MetadataTokens.
GetHeapOffset
(_pdbBuilder.GetOrAddBlobUTF8(importNs)));