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