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