1 write to VirtualAddress
System.Reflection.Metadata (1)
System\Reflection\PortableExecutable\SectionHeader.cs (1)
93
VirtualAddress
= reader.ReadInt32();
12 references to VirtualAddress
BuildValidator (1)
PEReaderExtensions.cs (1)
117
return rva - containingSection.
VirtualAddress
+ containingSection.PointerToRawData;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (5)
Emit\EmitMetadataTests.cs (5)
2346
peStream.Position = peHeaders.SectionHeaders[0].PointerToRawData + peHeader.AddressOfEntryPoint - peHeaders.SectionHeaders[0].
VirtualAddress
;
2390
Assert.Equal(0x2000, sections[0].
VirtualAddress
);
2401
Assert.Equal(0x4000, sections[1].
VirtualAddress
);
2404
var relocBlock = peReader.GetSectionData(sections[1].
VirtualAddress
);
2528
Assert.Equal(0x2000, sections[0].
VirtualAddress
);
System.Reflection.Metadata (6)
System\Reflection\PortableExecutable\PEHeaders.cs (4)
331
int relativeOffset = directory.RelativeVirtualAddress - _sectionHeaders[sectionIndex].
VirtualAddress
;
353
if (_sectionHeaders[i].
VirtualAddress
<= relativeVirtualAddress &&
354
relativeVirtualAddress < _sectionHeaders[i].
VirtualAddress
+ _sectionHeaders[i].VirtualSize)
390
start = SectionHeaders[cormeta].
VirtualAddress
;
System\Reflection\PortableExecutable\PEReader.cs (2)
402
PEHeaders.SectionHeaders[index].
VirtualAddress
,
497
int relativeOffset = relativeVirtualAddress - PEHeaders.SectionHeaders[sectionIndex].
VirtualAddress
;