2 writes to ImageBase
System.Reflection.Metadata (2)
System\Reflection\PortableExecutable\PEHeader.cs (2)
313
ImageBase
= reader.ReadUInt64();
317
ImageBase
= reader.ReadUInt32();
28 references to ImageBase
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (16)
Emit\CompilationEmitTests.cs (14)
3536
Assert.Equal(0x10000000u, peHeaders.PEHeader.
ImageBase
);
3571
Assert.Equal(0x0000000180000000u, peHeaders.PEHeader.
ImageBase
);
3621
Assert.Equal(0x10000000u, peHeaders.PEHeader.
ImageBase
);
3660
Assert.Equal(0x00400000ul, peHeaders.PEHeader.
ImageBase
);
3700
Assert.Equal(0x0000000140000000ul, peHeaders.PEHeader.
ImageBase
);
3758
Assert.Equal(0x10110000ul, peHeaders.PEHeader.
ImageBase
);
3763
Assert.Equal(0x10000ul, peHeaders.PEHeader.
ImageBase
);
3768
Assert.Equal(0x00400000u, peHeaders.PEHeader.
ImageBase
);
3773
Assert.Equal(0x00400000u, peHeaders.PEHeader.
ImageBase
);
3778
Assert.Equal(0xffff0000ul, peHeaders.PEHeader.
ImageBase
);
3783
Assert.Equal(0x00400000u, peHeaders.PEHeader.
ImageBase
);
3787
Assert.Equal(0x0000000140000000u, peHeaders.PEHeader.
ImageBase
);
3792
Assert.Equal(0xffffffffffff0000ul, peHeaders.PEHeader.
ImageBase
);
3797
Assert.Equal(0x0000000140000000u, peHeaders.PEHeader.
ImageBase
);
Emit\EmitMetadataTests.cs (2)
2262
Assert.Equal(0x10000000u, peHeader.
ImageBase
);
2449
Assert.Equal(0x0123456789ac0000u, peHeader.
ImageBase
);
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (12)
Emit\CompilationEmitTests.vb (12)
2127
Assert.Equal(&H10000000UL, peHeaders.PEHeader.
ImageBase
)
2151
Assert.Equal(CType(&H400000, ULong), peHeaders.PEHeader.
ImageBase
)
2188
Assert.Equal(&H10000000UL, peHeaders.PEHeader.
ImageBase
)
2212
Assert.Equal(CType(&H400000, ULong), peHeaders.PEHeader.
ImageBase
)
2249
Assert.Equal(&H180000000UL, peHeaders.PEHeader.
ImageBase
)
2268
Assert.Equal(&H140000000UL, peHeaders.PEHeader.
ImageBase
)
2331
Assert.Equal(CType(&H10110000, ULong), peHeaders.PEHeader.
ImageBase
)
2336
Assert.Equal(CType(&H10000, ULong), peHeaders.PEHeader.
ImageBase
)
2341
Assert.Equal(&H400000UL, peHeaders.PEHeader.
ImageBase
)
2346
Assert.Equal(&H400000UL, peHeaders.PEHeader.
ImageBase
)
2350
Assert.Equal(&H140000000UL, peHeaders.PEHeader.
ImageBase
)
2354
Assert.Equal(&H180000000UL, peHeaders.PEHeader.
ImageBase
)