12 references to UserString
Microsoft.CodeAnalysis (2)
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
228
userStringStreamLengthAdded: metadataSizes.GetAlignedHeapSize(HeapIndex.
UserString
) + _previousGeneration.UserStringStreamLengthAdded,
Emit\EditAndContinue\EmitBaseline.cs (1)
484
=> UserStringStreamLengthAdded + MetadataReader.GetHeapSize(HeapIndex.
UserString
);
System.Reflection.Metadata (10)
System\Reflection\Metadata\Ecma335\MetadataAggregator.cs (2)
146
userStringSizes[0] = baseSizes[(int)HeapIndex.
UserString
];
153
userStringSizes[r + 1] = userStringSizes[r] + deltaReaders[r].GetHeapSize(HeapIndex.
UserString
);
System\Reflection\Metadata\Ecma335\MetadataBuilder.cs (2)
17
Debug.Assert(HeapIndex.
UserString
== 0);
87
SerializeStreamHeader(ref offsetFromStartOfMetadata, sizes.GetAlignedHeapSize(HeapIndex.
UserString
), "#US", builder);
System\Reflection\Metadata\Ecma335\MetadataBuilder.Heaps.cs (3)
84
Throw.HeapSizeLimitExceeded(HeapIndex.
UserString
);
165
case HeapIndex.
UserString
:
524
Throw.HeapSizeLimitExceeded(HeapIndex.
UserString
);
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (1)
231
HeapIndex.
UserString
=> reader.UserStringHeap.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (1)
333
size += GetAlignedHeapSize(HeapIndex.
UserString
);
System\Reflection\Metadata\Ecma335\MetadataTokens.cs (1)
258
index = HeapIndex.
UserString
;