3 implementations of IDiagnosticService
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Diagnostics\MockDiagnosticService.cs (1)
21internal class MockDiagnosticService : IDiagnosticService
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DiagnosticService.cs (1)
25internal partial class DiagnosticService : IDiagnosticService
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Diagnostics\DiagnosticTableDataSourceTests.vb (1)
794Implements IDiagnosticService
58 references to IDiagnosticService
Microsoft.CodeAnalysis.EditorFeatures (18)
Diagnostics\AbstractDiagnosticsAdornmentTaggerProvider.cs (1)
21IDiagnosticService diagnosticService,
Diagnostics\AbstractPushOrPullDiagnosticsTaggerProvider.cs (2)
39IDiagnosticService diagnosticService, 77private static ITaggerEventSource CreateEventSourceWorker(ITextBuffer subjectBuffer, IDiagnosticService diagnosticService)
Diagnostics\AbstractPushOrPullDiagnosticsTaggerProvider.PullDiagnosticsTaggerProvider.cs (1)
35IDiagnosticService diagnosticService,
Diagnostics\AbstractPushOrPullDiagnosticsTaggerProvider.PushDiagnosticsTaggerProvider.cs (2)
36private readonly IDiagnosticService _diagnosticService; 49IDiagnosticService diagnosticService,
Diagnostics\AbstractPushOrPullDiagnosticsTaggerProvider.SingleDiagnosticKindPullTaggerProvider.cs (2)
40private readonly IDiagnosticService _diagnosticService; 51IDiagnosticService diagnosticService,
Diagnostics\DiagnosticsClassificationTaggerProvider.cs (1)
46IDiagnosticService diagnosticService,
Diagnostics\DiagnosticsSquiggleTaggerProvider.cs (1)
37IDiagnosticService diagnosticService,
Diagnostics\DiagnosticsSuggestionTaggerProvider.cs (1)
37IDiagnosticService diagnosticService,
ExternalAccess\VSTypeScript\VSTypeScriptDiagnosticService.cs (4)
20private readonly IDiagnosticService _service; 25public VSTypeScriptDiagnosticService(IDiagnosticService service, IGlobalOptionService globalOptions) 47private readonly IDiagnosticService _service; 50internal EventHandlerWrapper(IDiagnosticService service, Action<VSTypeScriptDiagnosticsUpdatedArgsWrapper> action)
Shared\Tagging\EventSources\TaggerEventSources.cs (1)
53public static ITaggerEventSource OnDiagnosticsChanged(ITextBuffer subjectBuffer, IDiagnosticService service)
Shared\Tagging\EventSources\TaggerEventSources.DiagnosticsChangedEventSource.cs (2)
16private readonly IDiagnosticService _service; 18public DiagnosticsChangedEventSource(ITextBuffer subjectBuffer, IDiagnosticService service)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Diagnostics\DiagnosticTaggerWrapper.cs (1)
62DiagnosticService = (DiagnosticService)workspace.ExportProvider.GetExportedValue<IDiagnosticService>();
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (5)
Diagnostics\DiagnosticServiceTests.cs (1)
25var diagnosticService = Assert.IsType<DiagnosticService>(workspace.ExportProvider.GetExportedValue<IDiagnosticService>());
Diagnostics\DiagnosticsSquiggleTaggerProviderTests.cs (3)
36.AddExcludedPartTypes(typeof(IDiagnosticService), typeof(IDiagnosticAnalyzerService)) 146var diagnosticService = Assert.IsType<MockDiagnosticService>(workspace.ExportProvider.GetExportedValue<IDiagnosticService>()); 190var diagnosticService = Assert.IsType<MockDiagnosticService>(workspace.ExportProvider.GetExportedValue<IDiagnosticService>());
Diagnostics\MockDiagnosticService.cs (1)
20[Export(typeof(IDiagnosticService)), Shared, PartNotDiscoverable]
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineDiagnostics\InlineDiagnosticsTaggerProvider.cs (1)
45IDiagnosticService diagnosticService,
Microsoft.CodeAnalysis.ExternalAccess.Razor (1)
RazorTestAnalyzerLoader.cs (1)
23public RazorTestAnalyzerLoader(IDiagnosticAnalyzerService analyzerService, IDiagnosticService diagnosticService, IGlobalOptionService globalOptionService)
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
ExternalAccess\VSCode\API\VSCodeAnalyzerLoader.cs (1)
23public VSCodeAnalyzerLoader(IDiagnosticAnalyzerService analyzerService, IDiagnosticService diagnosticService, IGlobalOptionService globalOptionService)
Features\Diagnostics\DiagnosticService.cs (4)
24[Export(typeof(IDiagnosticService)), Shared] 35private readonly EventListenerTracker<IDiagnosticService> _eventListenerTracker; 53_eventListenerTracker = new EventListenerTracker<IDiagnosticService>(eventListeners, WellKnownEventListeners.DiagnosticService); 418internal ref readonly EventListenerTracker<IDiagnosticService> EventListenerTracker
Microsoft.VisualStudio.LanguageServices (13)
TableDataSource\MiscellaneousDiagnosticListTable.cs (3)
19internal sealed class MiscellaneousDiagnosticListTableWorkspaceEventListener : IEventListener<IDiagnosticService> 38public void StartListening(Workspace workspace, IDiagnosticService diagnosticService) 49IDiagnosticService diagnosticService,
TableDataSource\VisualStudioBaseDiagnosticListTable.LiveTableDataSource.cs (5)
49private readonly IDiagnosticService _diagnosticService; 64IDiagnosticService diagnosticService, 178private void PopulateInitialData(Workspace workspace, IDiagnosticService diagnosticService) 238private void ConnectToDiagnosticService(Workspace workspace, IDiagnosticService diagnosticService) 327var provider = _source._diagnosticService;
TableDataSource\VisualStudioDiagnosticListTable.cs (5)
25internal partial class VisualStudioDiagnosticListTableWorkspaceEventListener : IEventListener<IDiagnosticService> 54public void StartListening(Workspace workspace, IDiagnosticService diagnosticService) 91IDiagnosticService diagnosticService, 122IDiagnosticService diagnosticService, 203public static VisualStudioDiagnosticListTable Create(Workspace workspace, IGlobalOptionService globalOptions, IThreadingContext threadingContext, IDiagnosticService diagnosticService, ITableManagerProvider provider)
Microsoft.VisualStudio.LanguageServices.LiveShare (2)
Client\RemoteDiagnosticListTable.cs (1)
39IDiagnosticService diagnosticService,
Client\RemoteLanguageServiceWorkspace.cs (1)
87IDiagnosticService diagnosticService,
Microsoft.VisualStudio.LanguageServices.UnitTests (12)
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 (5)
619Dim service = Assert.IsType(Of DiagnosticService)(workspace.ExportProvider.GetExportedValue(Of IDiagnosticService)()) 670Dim service = Assert.IsType(Of DiagnosticService)(workspace.GetService(Of IDiagnosticService)()) 802Public Event DiagnosticsUpdated As EventHandler(Of DiagnosticsUpdatedArgs) Implements IDiagnosticService.DiagnosticsUpdated 804Public Function GetDiagnosticsAsync(workspace As Workspace, projectId As ProjectId, documentId As DocumentId, id As Object, includeSuppressedDiagnostics As Boolean, cancellationToken As CancellationToken) As ValueTask(Of ImmutableArray(Of DiagnosticData)) Implements IDiagnosticService.GetDiagnosticsAsync 832Public Function GetDiagnosticBuckets(workspace As Workspace, projectId As ProjectId, documentId As DocumentId, cancellationToken As CancellationToken) As ImmutableArray(Of DiagnosticBucket) Implements IDiagnosticService.GetDiagnosticBuckets
ProjectSystemShim\VisualStudioProjectTests\AnalyzerReferenceTests.vb (1)
227Dim diagnosticService = environment.ExportProvider.GetExportedValue(Of IDiagnosticService)