35 references to DebugDirectoryEntryType
ILCompiler.Compiler (1)
src\runtime\src\coreclr\tools\Common\Compiler\CompilerTypeSystemContext.cs (1)
339if (debugEntry.Type != DebugDirectoryEntryType.CodeView)
ILCompiler.ReadyToRun (4)
Compiler\DependencyAnalysis\ReadyToRun\DebugDirectoryEntryNode.cs (2)
62builder.EmitInt((int)DebugDirectoryEntryType.Reproducible); 237builder.EmitInt((int)DebugDirectoryEntryType.CodeView);
Compiler\DependencyAnalysis\ReadyToRun\DebugDirectoryNode.cs (1)
116DebugDirectoryEntry pdbEntry = entries.Where(s => s.Type == DebugDirectoryEntryType.CodeView).FirstOrDefault();
src\runtime\src\coreclr\tools\Common\Compiler\CompilerTypeSystemContext.cs (1)
339if (debugEntry.Type != DebugDirectoryEntryType.CodeView)
ILCompiler.TypeSystem (1)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\SymbolReader\PortablePdbSymbolReader.cs (1)
86if (debugEntry.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 (4)
CompilationFactory.cs (1)
134var codeViewEntry = OptionsReader.PeReader.ReadDebugDirectory().Single(entry => entry.Type == DebugDirectoryEntryType.CodeView);
CompilationOptionsReader.cs (1)
449public bool HasEmbeddedPdb => PeReader.ReadDebugDirectory().Any(static entry => entry.Type == DebugDirectoryEntryType.EmbeddedPortablePdb);
Extensions.cs (2)
26var entry = peReader.ReadDebugDirectory().SingleOrDefault(x => x.Type == DebugDirectoryEntryType.EmbeddedPortablePdb); 27if (entry.Type == DebugDirectoryEntryType.Unknown)
System.Diagnostics.StackTrace (1)
System\Diagnostics\StackTraceSymbols.cs (1)
206if (entry.Type == DebugDirectoryEntryType.EmbeddedPortablePdb)
System.Reflection.Metadata (21)
System\Reflection\PortableExecutable\DebugDirectory\DebugDirectoryBuilder.cs (7)
16public DebugDirectoryEntryType Type; 29internal void AddEntry(DebugDirectoryEntryType type, uint version, uint stamp, int dataSize) 46public void AddEntry(DebugDirectoryEntryType type, uint version, uint stamp) 58public void AddEntry<TData>(DebugDirectoryEntryType type, uint version, uint stamp, TData data, Action<BlobBuilder, TData> dataSerializer) 130type: DebugDirectoryEntryType.CodeView, 140=> AddEntry(type: DebugDirectoryEntryType.Reproducible, version: 0, stamp: 0); 196type: DebugDirectoryEntryType.PdbChecksum,
System\Reflection\PortableExecutable\DebugDirectory\DebugDirectoryBuilder.EmbeddedPortablePdb.cs (1)
35type: DebugDirectoryEntryType.EmbeddedPortablePdb,
System\Reflection\PortableExecutable\DebugDirectory\DebugDirectoryEntry.cs (3)
45public DebugDirectoryEntryType Type { get; } 63/// True if the entry is a <see cref="DebugDirectoryEntryType.CodeView"/> entry pointing to a Portable PDB. 71DebugDirectoryEntryType type,
System\Reflection\PortableExecutable\PEReader.cs (7)
579var type = (DebugDirectoryEntryType)reader.ReadInt32(); 606if (entry.Type != DebugDirectoryEntryType.CodeView) 608Throw.InvalidArgument(SR.Format(SR.UnexpectedDebugDirectoryType, nameof(DebugDirectoryEntryType.CodeView)), nameof(entry)); 646if (entry.Type != DebugDirectoryEntryType.PdbChecksum) 648Throw.InvalidArgument(SR.Format(SR.UnexpectedDebugDirectoryType, nameof(DebugDirectoryEntryType.PdbChecksum)), nameof(entry)); 747var embeddedPdbEntry = ImmutableArrayExtensions.FirstOrDefault(entries, e => e.Type == DebugDirectoryEntryType.EmbeddedPortablePdb);
System\Reflection\PortableExecutable\PEReader.EmbeddedPortablePdb.cs (3)
31/// <exception cref="ArgumentException"><paramref name="entry"/> is not a <see cref="DebugDirectoryEntryType.EmbeddedPortablePdb"/> entry.</exception> 36if (entry.Type != DebugDirectoryEntryType.EmbeddedPortablePdb) 38Throw.InvalidArgument(SR.Format(SR.UnexpectedDebugDirectoryType, nameof(DebugDirectoryEntryType.EmbeddedPortablePdb)), nameof(entry));