19 references to DebugInformationReaderProvider
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Emit\CompilationOutputFilesTests.cs (1)
42using (var pdb = outputs.OpenPdb())
Microsoft.CodeAnalysis.Features (17)
Debugging\DebugInformationReaderProvider.cs (2)
42private sealed class Portable(MetadataReaderProvider pdbReaderProvider) : DebugInformationReaderProvider 65private sealed class Native(Stream stream, ISymUnmanagedReader5 symReader, int version) : DebugInformationReaderProvider
EditAndContinue\CommittedSolution.cs (4)
366using var debugInfoReaderProvider = GetMethodDebugInfoReader(compilationOutputsProvider(project), project.Name); 407private static DebugInformationReaderProvider? GetMethodDebugInfoReader(CompilationOutputs compilationOutputs, string projectName) 409DebugInformationReaderProvider? debugInfoReaderProvider; 475using var debugInfoReaderProvider = GetMethodDebugInfoReader(compilationOutputs, document.Project.Name);
EditAndContinue\DebuggingSession.cs (2)
294if (!TryCreateInitialBaseline(baselineCompilation, outputs, baselineProject.Id, out errors, out var initialBaseline, out var debugInfoReaderProvider, out var metadataReaderProvider)) 330[NotNullWhen(true)] out DebugInformationReaderProvider? debugInfoReaderProvider,
Emit\CompilationOutputFilesWithImplicitPdbPath.cs (3)
44public override DebugInformationReaderProvider? OpenPdb() 60return DebugInformationReaderProvider.CreateFromMetadataReader(peReader.ReadEmbeddedPortablePdbDebugDirectoryData(embeddedPdbEntry)); 77return (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, 97public virtual DebugInformationReaderProvider? OpenPdb() 102return DebugInformationReaderProvider.CreateFromStream(pdbStream); 113return DebugInformationReaderProvider.CreateFromMetadataReader(peReader.ReadEmbeddedPortablePdbDebugDirectoryData(embeddedPdbEntry)); 168using var pdb = OpenPdb();
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
ProjectSystemShim\VisualStudioCompilationOutputFilesTests.cs (1)
52using (var pdb = outputs.OpenPdb())