23 references to DiagnosticService
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Diagnostics\DiagnosticTaggerWrapper.cs (2)
30public readonly DiagnosticService DiagnosticService; 62DiagnosticService = (DiagnosticService)workspace.ExportProvider.GetExportedValue<IDiagnosticService>();
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (6)
Diagnostics\DiagnosticServiceTests.cs (6)
23private static DiagnosticService GetDiagnosticService(TestWorkspace workspace) 25var diagnosticService = Assert.IsType<DiagnosticService>(workspace.ExportProvider.GetExportedValue<IDiagnosticService>()); 43var diagnosticService = GetDiagnosticService(workspace); 73var diagnosticService = GetDiagnosticService(workspace); 114var diagnosticService = GetDiagnosticService(workspace);
Microsoft.CodeAnalysis.ExternalAccess.Razor (2)
RazorTestAnalyzerLoader.cs (2)
18private readonly DiagnosticService _diagnosticService; 26_diagnosticService = (DiagnosticService)diagnosticService;
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
ExternalAccess\VSCode\API\VSCodeAnalyzerLoader.cs (2)
18private readonly DiagnosticService _diagnosticService; 26_diagnosticService = (DiagnosticService)diagnosticService;
Features\Diagnostics\DiagnosticService.cs (2)
413private readonly DiagnosticService _diagnosticService; 415internal TestAccessor(DiagnosticService diagnosticService)
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (1)
ProjectSystemShim\Framework\TestEnvironment.vb (1)
72GetType(DiagnosticService))
Microsoft.VisualStudio.LanguageServices.UnitTests (8)
Diagnostics\DefaultDiagnosticUpdateSourceTests.vb (6)
45Dim diagnosticService = DirectCast(workspace.ExportProvider.GetExportedValue(Of IDiagnosticService), DiagnosticService) 87Dim diagnosticService = DirectCast(workspace.ExportProvider.GetExportedValue(Of IDiagnosticService), DiagnosticService) 126Dim diagnosticService = DirectCast(workspace.ExportProvider.GetExportedValue(Of IDiagnosticService), DiagnosticService) 165Dim diagnosticService = DirectCast(workspace.ExportProvider.GetExportedValue(Of IDiagnosticService), DiagnosticService) 205Dim diagnosticService = DirectCast(workspace.ExportProvider.GetExportedValue(Of IDiagnosticService), DiagnosticService) 312Dim diagnosticService = DirectCast(workspace.ExportProvider.GetExportedValue(Of IDiagnosticService), DiagnosticService)
Diagnostics\DiagnosticTableDataSourceTests.vb (2)
619Dim service = Assert.IsType(Of DiagnosticService)(workspace.ExportProvider.GetExportedValue(Of IDiagnosticService)()) 670Dim service = Assert.IsType(Of DiagnosticService)(workspace.GetService(Of IDiagnosticService)())