24 references to PullDiagnosticCategories
Microsoft.CodeAnalysis.EditorFeatures (6)
LanguageServer\AlwaysActivateInProcLanguageClient.cs (6)
90new(PullDiagnosticCategories.Task), 92new(PullDiagnosticCategories.WorkspaceDocumentsAndProject), 98new(PullDiagnosticCategories.DocumentCompilerSyntax), 99new(PullDiagnosticCategories.DocumentCompilerSemantic), 100new(PullDiagnosticCategories.DocumentAnalyzerSyntax), 101new(PullDiagnosticCategories.DocumentAnalyzerSemantic),
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Handler\Diagnostics\DocumentPullDiagnosticHandler.cs (5)
76if (category == PullDiagnosticCategories.Task) 81PullDiagnosticCategories.DocumentCompilerSyntax => DiagnosticKind.CompilerSyntax, 82PullDiagnosticCategories.DocumentCompilerSemantic => DiagnosticKind.CompilerSemantic, 83PullDiagnosticCategories.DocumentAnalyzerSyntax => DiagnosticKind.AnalyzerSemantic, 84PullDiagnosticCategories.DocumentAnalyzerSemantic => DiagnosticKind.AnalyzerSemantic,
Handler\Diagnostics\WorkspacePullDiagnosticHandler.cs (2)
76if (category == PullDiagnosticCategories.Task) 80if (category == null || category == PullDiagnosticCategories.WorkspaceDocumentsAndProject)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (11)
Diagnostics\PullDiagnosticTests.cs (11)
88testLspServer, document.GetURI(), useVSDiagnostics: true, category: PullDiagnosticCategories.DocumentCompilerSyntax); 91testLspServer, document.GetURI(), useVSDiagnostics: true, category: PullDiagnosticCategories.DocumentCompilerSemantic); 97testLspServer, document.GetURI(), useVSDiagnostics: true, previousResultId: syntaxResults.Single().ResultId, category: PullDiagnosticCategories.DocumentCompilerSyntax); 99testLspServer, document.GetURI(), useVSDiagnostics: true, previousResultId: semanticResults.Single().ResultId, category: PullDiagnosticCategories.DocumentCompilerSemantic); 173testLspServer, document.GetURI(), useVSDiagnostics, category: PullDiagnosticCategories.Task); 837var results = await RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics, includeTaskListItems: false, category: PullDiagnosticCategories.Task); 853var results = await RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics, includeTaskListItems: true, category: PullDiagnosticCategories.Task); 887var results = await RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics: true, includeTaskListItems: true, category: PullDiagnosticCategories.Task); 906var results = await RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics, includeTaskListItems: false, category: PullDiagnosticCategories.Task); 931var results = await RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics, includeTaskListItems: true, category: PullDiagnosticCategories.Task); 960var results = await RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics, includeTaskListItems: true, category: PullDiagnosticCategories.Task);