1 write to PeReader
Microsoft.CodeAnalysis.Rebuild (1)
CompilationOptionsReader.cs (1)
56PeReader = peReader;
11 references to PeReader
Microsoft.CodeAnalysis.Rebuild (11)
CompilationFactory.cs (4)
105var peHeader = OptionsReader.PeReader.PEHeaders.PEHeader!; 106var win32Resources = OptionsReader.PeReader.GetSectionData(peHeader.ResourceTableDirectory.RelativeVirtualAddress); 134var codeViewEntry = OptionsReader.PeReader.ReadDebugDirectory().Single(entry => entry.Type == DebugDirectoryEntryType.CodeView); 135var codeView = OptionsReader.PeReader.ReadCodeViewDebugDirectoryData(codeViewEntry);
CompilationOptionsReader.cs (7)
144var mdReader = PeReader.GetMetadataReader(); 243var metadataReader = PeReader.GetMetadataReader(); 261var metadataReader = PeReader.GetMetadataReader(); 262if (PeReader.PEHeaders.CorHeader is not { } corHeader 263|| !PeReader.PEHeaders.TryGetDirectoryOffset(corHeader.ResourcesDirectory, out var resourcesOffset)) 273var resourceStart = PeReader.GetEntireImage().Pointer + resourcesOffset + resource.Offset; 444public bool HasEmbeddedPdb => PeReader.ReadDebugDirectory().Any(static entry => entry.Type == DebugDirectoryEntryType.EmbeddedPortablePdb);