2 types derived from DebugInformationReaderProvider
Microsoft.CodeAnalysis.Features (2)
Debugging\DebugInformationReaderProvider.cs (2)
39
private sealed class Portable(MetadataReaderProvider pdbReaderProvider) :
DebugInformationReaderProvider
62
private sealed class Native(Stream stream, ISymUnmanagedReader5 symReader, int version) :
DebugInformationReaderProvider
19 references to DebugInformationReaderProvider
Microsoft.CodeAnalysis.Features (19)
Debugging\DebugInformationReaderProvider.cs (5)
110
/// Creates <see cref="
DebugInformationReaderProvider
"/> from a stream of Portable or Windows PDB.
121
public static
DebugInformationReaderProvider
CreateFromStream(Stream stream)
146
private static
DebugInformationReaderProvider
CreateNative(Stream stream)
155
/// Creates <see cref="
DebugInformationReaderProvider
"/> from a Portable PDB metadata reader provider.
161
public static
DebugInformationReaderProvider
CreateFromMetadataReader(MetadataReaderProvider metadataProvider)
EditAndContinue\CommittedSolution.cs (3)
404
private static
DebugInformationReaderProvider
? GetMethodDebugInfoReader(TraceLog log, CompilationOutputs compilationOutputs, string projectName)
406
DebugInformationReaderProvider
? debugInfoReaderProvider;
481
using
var
debugInfoReaderProvider = GetMethodDebugInfoReader(debuggingSession.SessionLog, compilationOutputs, document.Project.Name);
EditAndContinue\DebuggingSession.cs (2)
328
if (!TryCreateInitialBaseline(baselineCompilation, outputs, baselineProject.Id, diagnostics, out var initialBaseline, out
var
debugInfoReaderProvider, out var metadataReaderProvider))
376
[NotNullWhen(true)] out
DebugInformationReaderProvider
? debugInfoReaderProvider,
Emit\CompilationOutputFilesWithImplicitPdbPath.cs (3)
44
public override
DebugInformationReaderProvider
? OpenPdb()
60
return
DebugInformationReaderProvider
.CreateFromMetadataReader(peReader.ReadEmbeddedPortablePdbDebugDirectoryData(embeddedPdbEntry));
77
return (pdbStream != null) ?
DebugInformationReaderProvider
.CreateFromStream(pdbStream) : null;
Emit\CompilationOutputs.cs (6)
85
/// The caller must dispose the returned <see cref="
DebugInformationReaderProvider
"/>.
88
/// Instance of <see cref="
DebugInformationReaderProvider
"/>, which owns the opened PDB and must be disposed once the caller is done reading the data,
97
public virtual
DebugInformationReaderProvider
? OpenPdb()
102
return
DebugInformationReaderProvider
.CreateFromStream(pdbStream);
113
return
DebugInformationReaderProvider
.CreateFromMetadataReader(peReader.ReadEmbeddedPortablePdbDebugDirectoryData(embeddedPdbEntry));
168
using
var
pdb = OpenPdb();