<PackageReference Include="System.Reflection.Metadata" Version="11.0.0-preview.3.26207.106" />

System.Reflection.Metadata.Ecma335.MetadataSizes

public sealed class MetadataSizes
Provides information on sizes of various metadata structures.
namespace System.Reflection.Metadata.Ecma335 { public sealed class MetadataSizes { public ImmutableArray<int> HeapSizes { get; } public ImmutableArray<int> RowCounts { get; } public ImmutableArray<int> ExternalRowCounts { get; } public int GetAlignedHeapSize(HeapIndex index); } }