31 instantiations of DirectoryEntry
ILAssembler (1)
VTableExportPEBuilder.cs (1)
244directories.ExportTable = new DirectoryEntry(_exportDirectoryRva, _exportDirectorySize);
ILCompiler.ReadyToRun (1)
Compiler\DependencyAnalysis\ReadyToRun\CopiedCorHeaderNode.cs (1)
50return new DirectoryEntry(rva, size);
System.Reflection.Metadata (29)
System\Reflection\PortableExecutable\CorHeader.cs (7)
27MetadataDirectory = new DirectoryEntry(ref reader); 30ResourcesDirectory = new DirectoryEntry(ref reader); 31StrongNameSignatureDirectory = new DirectoryEntry(ref reader); 32CodeManagerTableDirectory = new DirectoryEntry(ref reader); 33VtableFixupsDirectory = new DirectoryEntry(ref reader); 34ExportAddressTableJumpsDirectory = new DirectoryEntry(ref reader); 35ManagedNativeHeaderDirectory = new DirectoryEntry(ref reader);
System\Reflection\PortableExecutable\ManagedPEBuilder.cs (3)
151debugDirectoryEntry = new DirectoryEntry( 192_peDirectoriesBuilder.ResourceTable = new DirectoryEntry(location.RelativeVirtualAddress, sectionBuilder.Count); 201_peDirectoriesBuilder.BaseRelocationTable = new DirectoryEntry(location.RelativeVirtualAddress, sectionBuilder.Count);
System\Reflection\PortableExecutable\ManagedTextSection.cs (3)
200new DirectoryEntry(rva, SizeOfImportAddressTable) : 208new DirectoryEntry(rva + ComputeOffsetToImportTable(), (Is32Bit ? 66 : 70) + 13) : 214return new DirectoryEntry(rva + SizeOfImportAddressTable, CorHeaderSize);
System\Reflection\PortableExecutable\PEHeader.cs (16)
360ExportTableDirectory = new DirectoryEntry(ref reader); 361ImportTableDirectory = new DirectoryEntry(ref reader); 362ResourceTableDirectory = new DirectoryEntry(ref reader); 363ExceptionTableDirectory = new DirectoryEntry(ref reader); 364CertificateTableDirectory = new DirectoryEntry(ref reader); 365BaseRelocationTableDirectory = new DirectoryEntry(ref reader); 366DebugTableDirectory = new DirectoryEntry(ref reader); 367CopyrightTableDirectory = new DirectoryEntry(ref reader); 368GlobalPointerTableDirectory = new DirectoryEntry(ref reader); 369ThreadLocalStorageTableDirectory = new DirectoryEntry(ref reader); 370LoadConfigTableDirectory = new DirectoryEntry(ref reader); 371BoundImportTableDirectory = new DirectoryEntry(ref reader); 372ImportAddressTableDirectory = new DirectoryEntry(ref reader); 373DelayImportTableDirectory = new DirectoryEntry(ref reader); 374CorHeaderTableDirectory = new DirectoryEntry(ref reader); 377new DirectoryEntry(ref reader);
58 references to DirectoryEntry
ILCompiler.Compiler (1)
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.cs (1)
51DirectoryEntry resourceDirectory = peFile.PEHeaders.PEHeader.ResourceTableDirectory;
ILCompiler.ReadyToRun (6)
Compiler\DependencyAnalysis\ReadyToRun\CopiedCorHeaderNode.cs (1)
46private static DirectoryEntry ReadDirectoryEntry(ref BlobReader reader)
Compiler\DependencyAnalysis\ReadyToRun\CopiedManagedResourcesNode.cs (1)
59DirectoryEntry resourcesDirectory = _module.PEReader.PEHeaders.CorHeader.ResourcesDirectory;
Compiler\DependencyAnalysis\ReadyToRun\CopiedStrongNameSignatureNode.cs (1)
62DirectoryEntry strongNameDirectory = _module.PEReader.PEHeaders.CorHeader.StrongNameSignatureDirectory;
src\runtime\src\coreclr\tools\aot\ILCompiler.Reflection.ReadyToRun\PEReaderExtensions.cs (2)
30DirectoryEntry exportTable = peReader.PEHeaders.PEHeader.ExportTableDirectory; 177var managedNativeDirectory = peReader.PEHeaders.CorHeader.ManagedNativeHeaderDirectory;
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.cs (1)
51DirectoryEntry resourceDirectory = peFile.PEHeaders.PEHeader.ResourceTableDirectory;
Microsoft.DotNet.Arcade.Sdk (1)
src\Unsign.cs (1)
38var entry = headers.PEHeader.CertificateTableDirectory;
Microsoft.DotNet.StrongName (3)
Signing.cs (1)
175var snDirectory = peReader.PEHeaders.CorHeader.StrongNameSignatureDirectory;
Utils.cs (1)
90var authenticodeDir = peHeaders.PEHeader.CertificateTableDirectory;
Verification.cs (1)
89var snDirectory = peReader.PEHeaders.CorHeader.StrongNameSignatureDirectory;
Microsoft.NET.HostModel (1)
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.cs (1)
34DirectoryEntry resourceDirectory = peFile.PEHeaders.PEHeader!.ResourceTableDirectory;
System.Reflection.Metadata (46)
System\Reflection\PortableExecutable\CorHeader.cs (7)
10public DirectoryEntry MetadataDirectory { get; } 13public DirectoryEntry ResourcesDirectory { get; } 14public DirectoryEntry StrongNameSignatureDirectory { get; } 15public DirectoryEntry CodeManagerTableDirectory { get; } 16public DirectoryEntry VtableFixupsDirectory { get; } 17public DirectoryEntry ExportAddressTableJumpsDirectory { get; } 18public DirectoryEntry ManagedNativeHeaderDirectory { get; }
System\Reflection\PortableExecutable\ManagedPEBuilder.cs (2)
142DirectoryEntry debugDirectoryEntry; 158debugDirectoryEntry = default(DirectoryEntry);
System\Reflection\PortableExecutable\ManagedTextSection.cs (5)
197public DirectoryEntry GetImportAddressTableDirectoryEntry(int rva) 201default(DirectoryEntry); 204public DirectoryEntry GetImportTableDirectoryEntry(int rva) 209default(DirectoryEntry); 212public DirectoryEntry GetCorHeaderDirectoryEntry(int rva)
System\Reflection\PortableExecutable\PEDirectoriesBuilder.cs (14)
13public DirectoryEntry ExportTable { get; set; } 18public DirectoryEntry ImportTable { get; set; } 23public DirectoryEntry ResourceTable { get; set; } 28public DirectoryEntry ExceptionTable { get; set; } 33public DirectoryEntry BaseRelocationTable { get; set; } 38public DirectoryEntry DebugTable { get; set; } 43public DirectoryEntry CopyrightTable { get; set; } 48public DirectoryEntry GlobalPointerTable { get; set; } 53public DirectoryEntry ThreadLocalStorageTable { get; set; } 58public DirectoryEntry LoadConfigTable { get; set; } 63public DirectoryEntry BoundImportTable { get; set; } 68public DirectoryEntry ImportAddressTable { get; set; } 73public DirectoryEntry DelayImportTable { get; set; } 78public DirectoryEntry CorHeaderTable { get; set; }
System\Reflection\PortableExecutable\PEHeader.cs (15)
171public DirectoryEntry ExportTableDirectory { get; } 176public DirectoryEntry ImportTableDirectory { get; } 181public DirectoryEntry ResourceTableDirectory { get; } 186public DirectoryEntry ExceptionTableDirectory { get; } 197public DirectoryEntry CertificateTableDirectory { get; } 202public DirectoryEntry BaseRelocationTableDirectory { get; } 207public DirectoryEntry DebugTableDirectory { get; } 212public DirectoryEntry CopyrightTableDirectory { get; } 217public DirectoryEntry GlobalPointerTableDirectory { get; } 222public DirectoryEntry ThreadLocalStorageTableDirectory { get; } 227public DirectoryEntry LoadConfigTableDirectory { get; } 232public DirectoryEntry BoundImportTableDirectory { get; } 237public DirectoryEntry ImportAddressTableDirectory { get; } 242public DirectoryEntry DelayImportTableDirectory { get; } 247public DirectoryEntry CorHeaderTableDirectory { get; }
System\Reflection\PortableExecutable\PEHeaders.cs (2)
330public bool TryGetDirectoryOffset(DirectoryEntry directory, out int offset) 335internal bool TryGetDirectoryOffset(DirectoryEntry directory, out int offset, bool canCrossSectionBoundary)
System\Reflection\PortableExecutable\PEReader.cs (1)
539var debugDirectory = PEHeaders.PEHeader.DebugTableDirectory;