1 write to VirtualSize
System.Reflection.Metadata (1)
System\Reflection\PortableExecutable\SectionHeader.cs (1)
92VirtualSize = reader.ReadInt32();
12 references to VirtualSize
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
Emit\EmitMetadataTests.cs (4)
2391Assert.Equal(900, sections[0].VirtualSize); 2402Assert.Equal(12, sections[1].VirtualSize); 2405var relocBytes = new byte[sections[1].VirtualSize]; 2529Assert.Equal(832, sections[0].VirtualSize);
System.Reflection.Metadata (8)
System\Reflection\PortableExecutable\PEHeaders.cs (3)
332if (!canCrossSectionBoundary && directory.Size > _sectionHeaders[sectionIndex].VirtualSize - relativeOffset) 354relativeVirtualAddress < _sectionHeaders[i].VirtualAddress + _sectionHeaders[i].VirtualSize) 391size = SectionHeaders[cormeta].VirtualSize;
System\Reflection\PortableExecutable\PEReader.cs (2)
403PEHeaders.SectionHeaders[index].VirtualSize); 417PEHeaders.SectionHeaders[index].VirtualSize,
System\Reflection\PortableExecutable\SectionHeader.cs (3)
31/// If this is less than <see cref="VirtualSize"/>, the remainder of the section is zero-filled. 32/// Because the <see cref="SizeOfRawData"/> field is rounded but the <see cref="VirtualSize"/> field is not, 33/// it is possible for <see cref="SizeOfRawData"/> to be greater than <see cref="VirtualSize"/> as well.