23 references to SectionHeaders
BuildValidator (1)
PEReaderExtensions.cs (1)
116
SectionHeader containingSection = reader.PEHeaders.
SectionHeaders
[index];
Microsoft.CodeAnalysis (1)
CvtRes.cs (1)
184
foreach (var sectionHeader in peHeaders.
SectionHeaders
)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (5)
Emit\CompilationEmitTests.cs (1)
659
peReader.PEHeaders.
SectionHeaders
.Select(h => h.Name));
Emit\EmitMetadataTests.cs (4)
2346
peStream.Position = peHeaders.
SectionHeaders
[0].PointerToRawData + peHeader.AddressOfEntryPoint - peHeaders.
SectionHeaders
[0].VirtualAddress;
2379
var sections = peHeaders.
SectionHeaders
;
2517
var sections = peHeaders.
SectionHeaders
;
Microsoft.CodeAnalysis.Test.Utilities (2)
Metadata\ILValidation.cs (2)
137
+ SectionHeaderSize * peHeaders.
SectionHeaders
.Length;
156
foreach (var sectionHeader in peHeaders.
SectionHeaders
)
System.Reflection.Metadata (14)
System\Reflection\PortableExecutable\PEHeaders.cs (6)
365
for (int i = 0; i <
SectionHeaders
.Length; i++)
367
if (
SectionHeaders
[i].Name.Equals(name, StringComparison.Ordinal))
390
start =
SectionHeaders
[cormeta].VirtualAddress;
391
size =
SectionHeaders
[cormeta].VirtualSize;
395
start =
SectionHeaders
[cormeta].PointerToRawData;
396
size =
SectionHeaders
[cormeta].SizeOfRawData;
System\Reflection\PortableExecutable\PEReader.cs (8)
383
Debug.Assert(index >= 0 && index < PEHeaders.
SectionHeaders
.Length);
389
Interlocked.CompareExchange(ref _lazyPESectionBlocks, new AbstractMemoryBlock[PEHeaders.
SectionHeaders
.Length], null);
402
PEHeaders.
SectionHeaders
[index].VirtualAddress,
403
PEHeaders.
SectionHeaders
[index].VirtualSize);
417
PEHeaders.
SectionHeaders
[index].VirtualSize,
418
PEHeaders.
SectionHeaders
[index].SizeOfRawData);
420
newBlock = peImage.GetMemoryBlock(PEHeaders.
SectionHeaders
[index].PointerToRawData, size);
497
int relativeOffset = relativeVirtualAddress - PEHeaders.
SectionHeaders
[sectionIndex].VirtualAddress;