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