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