1 instantiation of MetadataSizes
System.Reflection.Metadata (1)
System\Reflection\Metadata\Ecma335\MetadataBuilder.cs (1)
28
var sizes = new
MetadataSizes
(GetRowCounts(), externalRowCounts, heapSizes, metadataVersionByteCount, isStandaloneDebugMetadata);
59 references to MetadataSizes
Microsoft.CodeAnalysis (3)
Compilation\Compilation.cs (1)
3472
out
MetadataSizes
metadataSizes);
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
170
internal EmitBaseline GetDelta(Compilation compilation, Guid encId,
MetadataSizes
metadataSizes)
PEWriter\MetadataWriter.cs (1)
1688
public void WriteMetadataAndIL(PdbWriter? nativePdbWriterOpt, Stream metadataStream, Stream ilStream, Stream? portablePdbStreamOpt, out
MetadataSizes
metadataSizes)
System.Reflection.Metadata (56)
System\Reflection\Metadata\Ecma335\MetadataBuilder.cs (3)
28
var
sizes = new MetadataSizes(GetRowCounts(), externalRowCounts, heapSizes, metadataVersionByteCount, isStandaloneDebugMetadata);
33
internal static void SerializeMetadataHeader(BlobBuilder builder, string metadataVersion,
MetadataSizes
sizes)
103
int sizeOfStreamHeader =
MetadataSizes
.GetMetadataStreamHeaderSize(streamName);
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (47)
1638
MetadataSizes
metadataSizes,
1875
private static void SerializeTablesHeader(BlobBuilder writer,
MetadataSizes
metadataSizes)
1902
metadataSizes.IsEncDelta ?
MetadataSizes
.SortedTypeSystemTables & ~(1UL << (int)TableIndex.CustomAttribute) :
1904
MetadataSizes
.SortedTypeSystemTables;
1907
sortedTables |= metadataSizes.PresentTablesMask &
MetadataSizes
.SortedDebugTables;
1923
internal void SerializeModuleTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
1952
private void SerializeTypeRefTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
1962
private void SerializeTypeDefTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
1975
private void SerializeFieldTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
1985
private void SerializeMethodDefTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes, int methodBodyStreamRva)
2006
private void SerializeParamTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
2016
private void SerializeInterfaceImplTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2027
private void SerializeMemberRefTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
2037
private void SerializeConstantTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2051
private void SerializeCustomAttributeTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2067
private void SerializeFieldMarshalTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2079
private void SerializeDeclSecurityTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2093
private void SerializeClassLayoutTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2103
private void SerializeFieldLayoutTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2112
private void SerializeStandAloneSigTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2120
private void SerializeEventMapTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2129
private void SerializeEventTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
2139
private void SerializePropertyMapTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2148
private void SerializePropertyTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
2158
private void SerializeMethodSemanticsTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2172
private void SerializeMethodImplTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2182
private void SerializeModuleRefTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
2190
private void SerializeTypeSpecTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2198
private void SerializeImplMapTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
2209
private void SerializeFieldRvaTable(BlobBuilder writer,
MetadataSizes
metadataSizes, int mappedFieldDataStreamRva)
2218
private void SerializeAssemblyTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
2235
private void SerializeAssemblyRefTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
2251
private void SerializeFileTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
2261
private void SerializeExportedTypeTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
2273
private void SerializeManifestResourceTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
2284
private void SerializeNestedClassTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2293
private void SerializeGenericParamTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
2304
private void SerializeGenericParamConstraintTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2313
private void SerializeMethodSpecTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2322
private void SerializeDocumentTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2333
private void SerializeMethodDebugInformationTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2342
private void SerializeLocalScopeTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2355
private void SerializeLocalVariableTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
2365
private void SerializeLocalConstantTable(BlobBuilder writer, ImmutableArray<int> stringMap,
MetadataSizes
metadataSizes)
2374
private void SerializeImportScopeTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2383
private void SerializeStateMachineMethodTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
2392
private void SerializeCustomDebugInformationTable(BlobBuilder writer,
MetadataSizes
metadataSizes)
System\Reflection\Metadata\Ecma335\MetadataRootBuilder.cs (2)
64
if (metadataVersionByteCount >
MetadataSizes
.MaxMetadataVersionByteCount)
78
public
MetadataSizes
Sizes => _serializedMetadata.Sizes;
System\Reflection\Metadata\Ecma335\PortablePdbBuilder.cs (1)
108
_pdbIdBlob = builder.ReserveBytes(
MetadataSizes
.PdbIdSize);
System\Reflection\Metadata\Ecma335\SerializedMetadataHeaps.cs (2)
12
internal readonly
MetadataSizes
Sizes;
15
MetadataSizes
sizes,
System\Reflection\PortableExecutable\ManagedPEBuilder.cs (1)
126
var
metadataSizes = _metadataRootBuilder.Sizes;