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