1 instantiation of DebugDirectoryEntry
System.Reflection.Metadata (1)
System\Reflection\PortableExecutable\PEReader.cs (1)
587builder.Add(new DebugDirectoryEntry(stamp, majorVersion, minorVersion, type, dataSize, dataRva, dataPointer));
49 references to DebugDirectoryEntry
BuildValidator (3)
CompilationDiff.cs (3)
390foreach (var debugDirectory in peReader.ReadDebugDirectory()) 422var originalEntry = originalInfo.AssemblyReader.ReadDebugDirectory().SingleOrDefault(x => x.Type == DebugDirectoryEntryType.EmbeddedPortablePdb); 423var rebuildEntry = rebuildInfo.AssemblyReader.ReadDebugDirectory().SingleOrDefault(x => x.Type == DebugDirectoryEntryType.EmbeddedPortablePdb);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
2258var entry = peReader.ReadDebugDirectory().Single(e => e.Type == DebugDirectoryEntryType.EmbeddedPortablePdb); 2480var entry = peReader.ReadDebugDirectory().SingleOrDefault(e => e.Type == DebugDirectoryEntryType.EmbeddedPortablePdb);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (14)
PDB\CSharpDeterministicBuildCompilationTests.cs (4)
76var codeView = entries[0]; 77var checksum = entries[1]; 78var reproducible = entries[2]; 79var embedded = entries[3];
PDB\PDBEmbeddedSourceTests.cs (1)
114var embeddedEntry = peReader.ReadDebugDirectory().Single(e => e.Type == DebugDirectoryEntryType.EmbeddedPortablePdb);
PDB\PDBSourceLinkTests.cs (1)
87var embeddedEntry = peReader.ReadDebugDirectory().Single(e => e.Type == DebugDirectoryEntryType.EmbeddedPortablePdb);
PDB\PortablePdbTests.cs (8)
179var codeView = entries[0]; 180var checksum = entries[1]; 181var embedded = entries[2]; 239var codeView = entries[0]; 240var checksum = entries[1]; 241var reproducible = entries[2]; 242var embedded = entries[3]; 348var embeddedEntry = peReader.ReadDebugDirectory().Single(e => e.Type == DebugDirectoryEntryType.EmbeddedPortablePdb);
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.CodeAnalysis.Test.Utilities (1)
Compilation\IRuntimeEnvironment.cs (1)
57DebugDirectoryEntry portablePdbEntry = peReader.ReadDebugDirectory().FirstOrDefault(e => e.Type == DebugDirectoryEntryType.EmbeddedPortablePdb);
Microsoft.VisualStudio.LanguageServices (1)
PdbSourceDocument\AbstractSourceLinkService.cs (1)
24foreach (var entry in peReader.ReadDebugDirectory())
Microsoft.VisualStudio.LanguageServices.DevKit (1)
src\VisualStudio\Core\Def\PdbSourceDocument\AbstractSourceLinkService.cs (1)
24foreach (var entry in peReader.ReadDebugDirectory())
Roslyn.Test.PdbUtilities (4)
Reader\PdbValidation.cs (4)
571var codeViewEntry = entries[entryIndex++]; 609var entry = entries[entryIndex++]; 619var entry = entries[entryIndex++]; 631var entry = entries[entryIndex++];
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)
537public ImmutableArray<DebugDirectoryEntry> ReadDebugDirectory() 544return ImmutableArray<DebugDirectoryEntry>.Empty; 553if (debugDirectory.Size % DebugDirectoryEntry.Size != 0) 564internal static ImmutableArray<DebugDirectoryEntry> ReadDebugDirectoryEntries(BlobReader reader) 566int entryCount = reader.Length / DebugDirectoryEntry.Size; 567var builder = ImmutableArray.CreateBuilder<DebugDirectoryEntry>(entryCount); 593private AbstractMemoryBlock GetDebugDirectoryEntryDataBlock(DebugDirectoryEntry entry) 606public CodeViewDebugDirectoryData ReadCodeViewDebugDirectoryData(DebugDirectoryEntry entry) 646public PdbChecksumDebugDirectoryData ReadPdbChecksumDebugDirectoryData(DebugDirectoryEntry entry) 741var codeViewEntry = ImmutableArrayExtensions.FirstOrDefault(entries, e => e.IsPortableCodeView); 749var embeddedPdbEntry = ImmutableArrayExtensions.FirstOrDefault(entries, e => e.Type == DebugDirectoryEntryType.EmbeddedPortablePdb); 770private bool TryOpenCodeViewPortablePdb(DebugDirectoryEntry codeViewEntry, string peImageDirectory, Func<string, Stream?> pdbFileStreamProvider, out MetadataReaderProvider? provider, out string? pdbPath, ref Exception? errorToReport) 859partial void TryOpenEmbeddedPortablePdb(DebugDirectoryEntry embeddedPdbEntry, ref bool openedEmbeddedPdb, ref MetadataReaderProvider? provider, ref Exception? errorToReport);
System\Reflection\PortableExecutable\PEReader.EmbeddedPortablePdb.cs (3)
34public unsafe MetadataReaderProvider ReadEmbeddedPortablePdbDebugDirectoryData(DebugDirectoryEntry entry) 48internal static void ValidateEmbeddedPortablePdbVersion(DebugDirectoryEntry entry) 142partial void TryOpenEmbeddedPortablePdb(DebugDirectoryEntry embeddedPdbEntry, ref bool openedEmbeddedPdb, ref MetadataReaderProvider? provider, ref Exception? errorToReport)