1 write to Block
System.Reflection.Metadata (1)
System\Reflection\Metadata\Internal\StringHeap.cs (1)
108
this.
Block
= TrimEnd(block);
12 references to Block
System.Reflection.Metadata (12)
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (1)
232
HeapIndex.String => reader.StringHeap.
Block
,
System\Reflection\Metadata\Internal\StringHeap.cs (11)
167
return
Block
.PeekUtf8NullTerminated(handle.GetHeapOffset(), prefixOpt, utf8Decoder, out _, otherTerminator);
176
int length =
Block
.GetUtf8NullTerminatedLength(offset, out _, otherTerminator);
178
return new MemoryBlock(
Block
.Pointer + offset, length);
238
int terminator = this.
Block
.IndexOf(0, handle.GetHeapOffset());
239
if (terminator == -1 || terminator ==
Block
.Length - 1)
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;
301
return this.
Block
.Utf8NullTerminatedOffsetOfAsciiChar(startIndex, asciiChar);
311
return this.
Block
.Utf8NullTerminatedStringStartsWithAsciiPrefix(rawHandle.GetHeapOffset(), asciiPrefix);
321
return this.
Block
.BinarySearch(asciiKeys, rawHandle.GetHeapOffset());