1 write to ImportTableDirectory
System.Reflection.Metadata (1)
System\Reflection\PortableExecutable\PEHeader.cs (1)
361ImportTableDirectory = new DirectoryEntry(ref reader);
12 references to ImportTableDirectory
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (12)
Emit\CompilationEmitTests.cs (6)
3590Assert.Equal(0, peHeaders.PEHeader.ImportTableDirectory.RelativeVirtualAddress); 3591Assert.Equal(0, peHeaders.PEHeader.ImportTableDirectory.Size); 3630Assert.Equal(0, peHeaders.PEHeader.ImportTableDirectory.RelativeVirtualAddress); 3631Assert.Equal(0, peHeaders.PEHeader.ImportTableDirectory.Size); 3672Assert.NotEqual(0, peHeaders.PEHeader.ImportTableDirectory.RelativeVirtualAddress); 3673Assert.NotEqual(0, peHeaders.PEHeader.ImportTableDirectory.Size);
Emit\EmitMetadataTests.cs (6)
2293Assert.Equal(0x232C, peHeader.ImportTableDirectory.RelativeVirtualAddress); 2294Assert.Equal(0x4f, peHeader.ImportTableDirectory.Size); 2316Assert.True(peHeaders.TryGetDirectoryOffset(peHeader.ImportTableDirectory, out importTableDirectoryOffset)); 2319var importTableDirectoryBytes = new byte[peHeader.ImportTableDirectory.Size]; 2480Assert.Equal(0, peHeader.ImportTableDirectory.RelativeVirtualAddress); 2481Assert.Equal(0, peHeader.ImportTableDirectory.Size);