9 references to GetHeapOffset
System.Reflection.Metadata (9)
System\Reflection\Metadata\Ecma335\MetadataTokens.cs (1)
187
public static int GetHeapOffset(StringHandle handle) => handle.IsVirtual ? -1 : handle.
GetHeapOffset
();
System\Reflection\Metadata\Internal\StringHeap.cs (8)
167
return Block.PeekUtf8NullTerminated(handle.
GetHeapOffset
(), prefixOpt, utf8Decoder, out _, otherTerminator);
175
int offset = handle.
GetHeapOffset
();
238
int terminator = this.Block.IndexOf(0, handle.
GetHeapOffset
());
263
return this.Block.Utf8NullTerminatedEquals(handle.
GetHeapOffset
(), value, utf8Decoder, otherTerminator, ignoreCase);
282
return this.Block.Utf8NullTerminatedStartsWith(handle.
GetHeapOffset
(), value, utf8Decoder, otherTerminator, ignoreCase);
292
return this.Block.CompareUtf8NullTerminatedStringWithAsciiString(rawHandle.
GetHeapOffset
(), asciiString) == 0;
311
return this.Block.Utf8NullTerminatedStringStartsWithAsciiPrefix(rawHandle.
GetHeapOffset
(), asciiPrefix);
321
return this.Block.BinarySearch(asciiKeys, rawHandle.
GetHeapOffset
());