11 references to GetAlignedHeapSize
Microsoft.CodeAnalysis (2)
Emit\EditAndContinue\DeltaMetadataWriter.cs (2)
224
blobStreamLengthAdded: metadataSizes.
GetAlignedHeapSize
(HeapIndex.Blob) + _previousGeneration.BlobStreamLengthAdded,
228
userStringStreamLengthAdded: metadataSizes.
GetAlignedHeapSize
(HeapIndex.UserString) + _previousGeneration.UserStringStreamLengthAdded,
System.Reflection.Metadata (9)
System\Reflection\Metadata\Ecma335\MetadataBuilder.cs (4)
86
SerializeStreamHeader(ref offsetFromStartOfMetadata, sizes.
GetAlignedHeapSize
(HeapIndex.String), "#Strings", builder);
87
SerializeStreamHeader(ref offsetFromStartOfMetadata, sizes.
GetAlignedHeapSize
(HeapIndex.UserString), "#US", builder);
88
SerializeStreamHeader(ref offsetFromStartOfMetadata, sizes.
GetAlignedHeapSize
(HeapIndex.Guid), "#GUID", builder);
89
SerializeStreamHeader(ref offsetFromStartOfMetadata, sizes.
GetAlignedHeapSize
(HeapIndex.Blob), "#Blob", builder);
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (5)
80
/// <remarks>Use <see cref="
GetAlignedHeapSize
(HeapIndex)"/> to get an aligned heap size.</remarks>
332
size +=
GetAlignedHeapSize
(HeapIndex.String);
333
size +=
GetAlignedHeapSize
(HeapIndex.UserString);
334
size +=
GetAlignedHeapSize
(HeapIndex.Guid);
335
size +=
GetAlignedHeapSize
(HeapIndex.Blob);