21 references to File
Microsoft.CodeAnalysis (1)
PEWriter\MetadataWriter.cs (1)
2435metadata.SetCapacity(TableIndex.File, _fileRefList.Count);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Emit\EmitMetadataTests.cs (2)
218Assert.Equal(0, peFileReader.GetTableRowCount(TableIndex.File)); 252Assert.Equal(2, reader.GetTableRowCount(TableIndex.File));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests_WellKnownAttributes.cs (1)
2700Assert.Equal(0, metadataReader.GetTableRowCount(TableIndex.File));
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (4)
Attributes\AttributeTests_WellKnownAttributes.vb (2)
1507Assert.Equal(0, reader.GetTableRowCount(TableIndex.File)) 2769Assert.Equal(0, reader.GetTableRowCount(TableIndex.File))
Emit\EmitMetadata.vb (2)
285Assert.Equal(0, metadataReader.GetTableRowCount(TableIndex.File)) 320Assert.Equal(2, reader.GetTableRowCount(TableIndex.File))
System.Reflection.Metadata (13)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (4)
176case TableIndex.File: SetTableCapacity(_fileTable, rowCount); break; 242case TableIndex.File : return _fileTable.Count; 314rowCounts[(int)TableIndex.File] = _fileTable.Count; 1792if (metadataSizes.IsPresent(TableIndex.File))
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
87TableIndex.File => reader.FileTable.RowSize, 168TableIndex.File => reader.FileTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (4)
181TableIndex.File, 190ImplementationCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.File, TableIndex.AssemblyRef, TableIndex.ExportedType); 225TableIndex.File, 310size += GetTableSize(TableIndex.File, 4 + stringReferenceSize + blobReferenceSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (2)
56File = 1UL << TableIndex.File, 225internal const uint File = (uint)TableIndex.File;
System\Reflection\Metadata\MetadataReader.cs (1)
725this.FileTable = new FileTableReader(rowCounts[(int)TableIndex.File], stringHeapRefSize, blobHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);