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