4 instantiations of PEMemoryBlock
System.Reflection.Metadata (4)
System\Reflection\PortableExecutable\PEReader.cs (4)
446return new PEMemoryBlock(GetEntireImageBlock()); 467return new PEMemoryBlock(GetMetadataBlock()); 503return new PEMemoryBlock(block, relativeOffset); 528return new PEMemoryBlock(GetPESectionBlock(sectionIndex));
20 references to PEMemoryBlock
BuildValidator (1)
PEReaderExtensions.cs (1)
31PEMemoryBlock peImage = peReader.GetEntireImage();
Microsoft.CodeAnalysis (1)
MetadataReader\PEModule.cs (1)
179PEMemoryBlock block = _peReader.GetEntireImage();
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
8885var imageDll = peDll.GetEntireImage(); 8886var imagePdb = pePdb.GetEntireImage();
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\EmitMetadataTests.cs (1)
2404var relocBlock = peReader.GetSectionData(sections[1].VirtualAddress);
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (2)
Module.cs (2)
36var block = _reader.GetMetadata(); 49var block = _reader.GetMetadata();
Microsoft.CodeAnalysis.Rebuild (1)
CompilationFactory.cs (1)
106var win32Resources = OptionsReader.PeReader.GetSectionData(peHeader.ResourceTableDirectory.RelativeVirtualAddress);
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\DynamicAnalysisDataReader.cs (1)
175var peImage = peReader.GetEntireImage();
System.Reflection.Metadata (10)
System\Reflection\Metadata\PEReaderExtensions.cs (2)
31var block = peReader.GetSectionData(relativeVirtualAddress); 86var metadata = peReader.GetMetadata();
System\Reflection\PortableExecutable\PEReader.cs (8)
246/// or reading from <see cref="PEMemoryBlock"/>s retrieved from the reader. 444public PEMemoryBlock GetEntireImage() 465public PEMemoryBlock GetMetadata() 482public PEMemoryBlock GetSectionData(int relativeVirtualAddress) 492return default(PEMemoryBlock); 500return default(PEMemoryBlock); 515public PEMemoryBlock GetSectionData(string sectionName) 525return default(PEMemoryBlock);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.ManifestResources.cs (1)
34PEMemoryBlock resourceDirectory = pe.GetSectionData(pe.PEHeaders.CorHeader!.ResourcesDirectory.RelativeVirtualAddress);