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