1 write to ImportAddressTableDirectory
System.Reflection.Metadata (1)
System\Reflection\PortableExecutable\PEHeader.cs (1)
372
ImportAddressTableDirectory
= new DirectoryEntry(ref reader);
12 references to ImportAddressTableDirectory
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (12)
Emit\CompilationEmitTests.cs (6)
3588
Assert.Equal(0, peHeaders.PEHeader.
ImportAddressTableDirectory
.RelativeVirtualAddress);
3589
Assert.Equal(0, peHeaders.PEHeader.
ImportAddressTableDirectory
.Size);
3628
Assert.Equal(0, peHeaders.PEHeader.
ImportAddressTableDirectory
.RelativeVirtualAddress);
3629
Assert.Equal(0, peHeaders.PEHeader.
ImportAddressTableDirectory
.Size);
3670
Assert.NotEqual(0, peHeaders.PEHeader.
ImportAddressTableDirectory
.RelativeVirtualAddress);
3671
Assert.NotEqual(0, peHeaders.PEHeader.
ImportAddressTableDirectory
.Size);
Emit\EmitMetadataTests.cs (6)
2291
Assert.Equal(0x2000, peHeader.
ImportAddressTableDirectory
.RelativeVirtualAddress);
2292
Assert.Equal(0x8, peHeader.
ImportAddressTableDirectory
.Size);
2303
Assert.True(peHeaders.TryGetDirectoryOffset(peHeader.
ImportAddressTableDirectory
, out importAddressTableDirectoryOffset));
2306
var importAddressTableDirectoryBytes = new byte[peHeader.
ImportAddressTableDirectory
.Size];
2478
Assert.Equal(0, peHeader.
ImportAddressTableDirectory
.RelativeVirtualAddress);
2479
Assert.Equal(0, peHeader.
ImportAddressTableDirectory
.Size);