1 instantiation of DebugDirectoryEntry
System.Reflection.Metadata (1)
System\Reflection\PortableExecutable\PEReader.cs (1)
585builder.Add(new DebugDirectoryEntry(stamp, majorVersion, minorVersion, type, dataSize, dataRva, dataPointer));
35 references to DebugDirectoryEntry
ILCompiler.Compiler (1)
src\runtime\src\coreclr\tools\Common\Compiler\CompilerTypeSystemContext.cs (1)
337foreach (DebugDirectoryEntry debugEntry in peReader.SafeReadDebugDirectory())
ILCompiler.ReadyToRun (7)
Compiler\DependencyAnalysis\ReadyToRun\DebugDirectoryEntryNode.cs (2)
308ImmutableArray<DebugDirectoryEntry> entries = _module.PEReader.SafeReadDebugDirectory(); 311DebugDirectoryEntry sourceDebugEntry = entries[_debugEntryIndex];
Compiler\DependencyAnalysis\ReadyToRun\DebugDirectoryNode.cs (4)
98ImmutableArray<DebugDirectoryEntry> entries = _module.PEReader.SafeReadDebugDirectory(); 108ImmutableArray<DebugDirectoryEntry> entries = ImmutableArray<DebugDirectoryEntry>.Empty; 116DebugDirectoryEntry pdbEntry = entries.Where(s => s.Type == DebugDirectoryEntryType.CodeView).FirstOrDefault();
src\runtime\src\coreclr\tools\Common\Compiler\CompilerTypeSystemContext.cs (1)
337foreach (DebugDirectoryEntry debugEntry in peReader.SafeReadDebugDirectory())
ILCompiler.TypeSystem (3)
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\PortableExecutableMethodExtensions.cs (2)
11public static ImmutableArray<DebugDirectoryEntry> SafeReadDebugDirectory(this PEReader peReader) 19return ImmutableArray<DebugDirectoryEntry>.Empty;
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\SymbolReader\PortablePdbSymbolReader.cs (1)
84foreach (DebugDirectoryEntry debugEntry in peReader.SafeReadDebugDirectory())
Microsoft.CodeAnalysis.Features (3)
Emit\CompilationOutputFilesWithImplicitPdbPath.cs (2)
57var embeddedPdbEntry = debugDirectory.FirstOrDefault(e => e.Type == DebugDirectoryEntryType.EmbeddedPortablePdb); 63var codeViewEntry = debugDirectory.FirstOrDefault(e => e.Type == DebugDirectoryEntryType.CodeView);
Emit\CompilationOutputs.cs (1)
110var embeddedPdbEntry = peReader.ReadDebugDirectory().FirstOrDefault(e => e.Type == DebugDirectoryEntryType.EmbeddedPortablePdb);
Microsoft.CodeAnalysis.Rebuild (2)
CompilationFactory.cs (1)
134var codeViewEntry = OptionsReader.PeReader.ReadDebugDirectory().Single(entry => entry.Type == DebugDirectoryEntryType.CodeView);
Extensions.cs (1)
26var entry = peReader.ReadDebugDirectory().SingleOrDefault(x => x.Type == DebugDirectoryEntryType.EmbeddedPortablePdb);
Microsoft.NET.HostModel (1)
AppHost\PEUtils.cs (1)
55foreach (DebugDirectoryEntry entry in reader.ReadDebugDirectory())
System.Diagnostics.StackTrace (1)
System\Diagnostics\StackTraceSymbols.cs (1)
204foreach (DebugDirectoryEntry entry in peReader.ReadDebugDirectory())
System.Reflection.Metadata (17)
System\Reflection\PortableExecutable\DebugDirectory\DebugDirectoryBuilder.cs (1)
216internal int TableSize => DebugDirectoryEntry.Size * _entries.Count;
System\Reflection\PortableExecutable\PEReader.cs (13)
535public ImmutableArray<DebugDirectoryEntry> ReadDebugDirectory() 542return ImmutableArray<DebugDirectoryEntry>.Empty; 551if (debugDirectory.Size % DebugDirectoryEntry.Size != 0) 562internal static ImmutableArray<DebugDirectoryEntry> ReadDebugDirectoryEntries(BlobReader reader) 564int entryCount = reader.Length / DebugDirectoryEntry.Size; 565var builder = ImmutableArray.CreateBuilder<DebugDirectoryEntry>(entryCount); 591private AbstractMemoryBlock GetDebugDirectoryEntryDataBlock(DebugDirectoryEntry entry) 604public CodeViewDebugDirectoryData ReadCodeViewDebugDirectoryData(DebugDirectoryEntry entry) 644public PdbChecksumDebugDirectoryData ReadPdbChecksumDebugDirectoryData(DebugDirectoryEntry entry) 739var codeViewEntry = ImmutableArrayExtensions.FirstOrDefault(entries, e => e.IsPortableCodeView); 747var embeddedPdbEntry = ImmutableArrayExtensions.FirstOrDefault(entries, e => e.Type == DebugDirectoryEntryType.EmbeddedPortablePdb); 768private bool TryOpenCodeViewPortablePdb(DebugDirectoryEntry codeViewEntry, string peImageDirectory, Func<string, Stream?> pdbFileStreamProvider, out MetadataReaderProvider? provider, out string? pdbPath, ref Exception? errorToReport) 857partial void TryOpenEmbeddedPortablePdb(DebugDirectoryEntry embeddedPdbEntry, ref bool openedEmbeddedPdb, ref MetadataReaderProvider? provider, ref Exception? errorToReport);
System\Reflection\PortableExecutable\PEReader.EmbeddedPortablePdb.cs (3)
34public MetadataReaderProvider ReadEmbeddedPortablePdbDebugDirectoryData(DebugDirectoryEntry entry) 48internal static void ValidateEmbeddedPortablePdbVersion(DebugDirectoryEntry entry) 136partial void TryOpenEmbeddedPortablePdb(DebugDirectoryEntry embeddedPdbEntry, ref bool openedEmbeddedPdb, ref MetadataReaderProvider? provider, ref Exception? errorToReport)