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