12 references to String
Microsoft.CodeAnalysis (2)
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
226
stringStreamLengthAdded: metadataSizes.HeapSizes[(int)HeapIndex.
String
] + _previousGeneration.StringStreamLengthAdded,
Emit\EditAndContinue\EmitBaseline.cs (1)
481
=> StringStreamLengthAdded + MetadataReader.GetHeapSize(HeapIndex.
String
);
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\MetadataReaderUtils.cs (1)
92
int length = reader.GetHeapSize(HeapIndex.
String
);
System.Reflection.Metadata (9)
System\Reflection\Metadata\Ecma335\MetadataAggregator.cs (2)
147
stringSizes[0] = baseSizes[(int)HeapIndex.
String
];
154
stringSizes[r + 1] = stringSizes[r] + deltaReaders[r].GetHeapSize(HeapIndex.
String
);
System\Reflection\Metadata\Ecma335\MetadataBuilder.cs (2)
18
Debug.Assert((int)HeapIndex.
String
== 1);
86
SerializeStreamHeader(ref offsetFromStartOfMetadata, sizes.GetAlignedHeapSize(HeapIndex.
String
), "#Strings", builder);
System\Reflection\Metadata\Ecma335\MetadataBuilder.Heaps.cs (1)
161
case HeapIndex.
String
:
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (1)
232
HeapIndex.
String
=> reader.StringHeap.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (2)
151
StringReferenceIsSmall = isCompressed && heapSizes[(int)HeapIndex.
String
] <= ushort.MaxValue;
332
size += GetAlignedHeapSize(HeapIndex.
String
);
System\Reflection\Metadata\Ecma335\MetadataTokens.cs (1)
263
index = HeapIndex.
String
;