26 references to SectionHeaders
ILCompiler.Diagnostics (1)
PdbWriter.cs (1)
225
var sections = peReader.PEHeaders.
SectionHeaders
;
ILCompiler.ReadyToRun (1)
src\runtime\src\coreclr\tools\aot\ILCompiler.Reflection.ReadyToRun\PEReaderExtensions.cs (1)
146
SectionHeader containingSection = reader.PEHeaders.
SectionHeaders
[index];
Microsoft.CodeAnalysis (1)
CvtRes.cs (1)
184
foreach (var sectionHeader in peHeaders.
SectionHeaders
)
Microsoft.DotNet.StrongName (2)
Utils.cs (2)
140
+ Constants.PESectionHeaderSize * peHeaders.
SectionHeaders
.Length;
149
foreach (var sectionHeader in peHeaders.
SectionHeaders
)
Microsoft.NET.HostModel (9)
ResourceUpdater.cs (9)
140
int resourceSectionIndex = _reader.PEHeaders.
SectionHeaders
.Length;
141
for (int i = 0; i < _reader.PEHeaders.
SectionHeaders
.Length; i++)
143
if (_reader.PEHeaders.
SectionHeaders
[i].Name == ".rsrc")
153
bool needsAddSection = resourceSectionIndex == _reader.PEHeaders.
SectionHeaders
.Length;
163
SectionHeader lastSection = _reader.PEHeaders.
SectionHeaders
.Last();
172
isRsrcIsLastSection = _reader.PEHeaders.
SectionHeaders
.Length - 1 == resourceSectionIndex;
174
SectionHeader resourceSection = _reader.PEHeaders.
SectionHeaders
[resourceSectionIndex];
211
_reader.PEHeaders.
SectionHeaders
[0].PointerToRawData)
243
for (int i = resourceSectionIndex + 1; i < _reader.PEHeaders.
SectionHeaders
.Length; i++)
System.Reflection.Metadata (12)
System\Reflection\PortableExecutable\PEHeaders.cs (4)
378
for (int i = 0; i <
SectionHeaders
.Length; i++)
380
if (
SectionHeaders
[i].Name.Equals(name, StringComparison.Ordinal))
401
start =
SectionHeaders
[cormeta].PointerToRawData;
402
size =
SectionHeaders
[cormeta].SizeOfRawData;
System\Reflection\PortableExecutable\PEReader.cs (8)
381
Debug.Assert(index >= 0 && index < PEHeaders.
SectionHeaders
.Length);
387
Interlocked.CompareExchange(ref _lazyPESectionBlocks, new AbstractMemoryBlock[PEHeaders.
SectionHeaders
.Length], null);
400
PEHeaders.
SectionHeaders
[index].VirtualAddress,
401
PEHeaders.
SectionHeaders
[index].VirtualSize);
415
PEHeaders.
SectionHeaders
[index].VirtualSize,
416
PEHeaders.
SectionHeaders
[index].SizeOfRawData);
418
newBlock = peImage.GetMemoryBlock(PEHeaders.
SectionHeaders
[index].PointerToRawData, size);
495
int relativeOffset = relativeVirtualAddress - PEHeaders.
SectionHeaders
[sectionIndex].VirtualAddress;