49 references to PullDiagnosticCategories
Microsoft.CodeAnalysis.EditorFeatures (4)
ExternalAccess\VSTypeScript\VSTypeScriptInProcLanguageClientCapabilitiesProvider.cs (4)
43
new(
PullDiagnosticCategories
.Task),
44
new(
PullDiagnosticCategories
.WorkspaceDocumentsAndProject),
45
new(
PullDiagnosticCategories
.DocumentAnalyzerSyntax),
46
new(
PullDiagnosticCategories
.DocumentAnalyzerSemantic),
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Handler\Diagnostics\DiagnosticSourceProviders\DocumentSyntaxAndSemanticDiagnosticSourceProvider.cs (4)
35
DiagnosticKind.CompilerSyntax,
PullDiagnosticCategories
.DocumentCompilerSyntax)
44
DiagnosticKind.CompilerSemantic,
PullDiagnosticCategories
.DocumentCompilerSemantic)
53
DiagnosticKind.AnalyzerSyntax,
PullDiagnosticCategories
.DocumentAnalyzerSyntax)
62
DiagnosticKind.AnalyzerSemantic,
PullDiagnosticCategories
.DocumentAnalyzerSemantic)
Handler\Diagnostics\DiagnosticSourceProviders\WorkspaceDocumentsAndProjectDiagnosticSourceProvider.cs (1)
28
public string Name =>
PullDiagnosticCategories
.WorkspaceDocumentsAndProject;
Handler\EditAndContinue\DocumentEditAndContinueDiagnosticSourceProvider.cs (1)
22
public string Name =>
PullDiagnosticCategories
.EditAndContinue;
Handler\EditAndContinue\WorkspaceEditAndContinueDiagnosticSourceProvider.cs (1)
22
public string Name =>
PullDiagnosticCategories
.EditAndContinue;
Handler\Tasks\DocumentTaskDiagnosticSourceProvider.cs (1)
22
public string Name =>
PullDiagnosticCategories
.Task;
Handler\Tasks\WorkspaceTaskDiagnosticSourceProvider.cs (1)
24
public string Name =>
PullDiagnosticCategories
.Task;
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (36)
Diagnostics\DiagnosticRegistrationTests.cs (7)
66
PullDiagnosticCategories
.DocumentCompilerSyntax,
67
PullDiagnosticCategories
.DocumentCompilerSemantic,
68
PullDiagnosticCategories
.DocumentAnalyzerSyntax,
69
PullDiagnosticCategories
.DocumentAnalyzerSemantic,
74
PullDiagnosticCategories
.EditAndContinue,
75
PullDiagnosticCategories
.WorkspaceDocumentsAndProject
105
Assert.DoesNotContain(diagnosticRegistrations, (r) => r.Identifier ==
PullDiagnosticCategories
.Task);
Diagnostics\PullDiagnosticTests.cs (29)
101
testLspServer, document.GetURI(), useVSDiagnostics, category:
PullDiagnosticCategories
.DocumentCompilerSyntax);
104
testLspServer, document.GetURI(), useVSDiagnostics, category:
PullDiagnosticCategories
.DocumentCompilerSemantic);
110
testLspServer, document.GetURI(), useVSDiagnostics, previousResultId: syntaxResults.Single().ResultId, category:
PullDiagnosticCategories
.DocumentCompilerSyntax);
112
testLspServer, document.GetURI(), useVSDiagnostics, previousResultId: semanticResults.Single().ResultId, category:
PullDiagnosticCategories
.DocumentCompilerSemantic);
118
testLspServer, document.GetURI(), useVSDiagnostics, category:
PullDiagnosticCategories
.DocumentAnalyzerSyntax);
121
testLspServer, document.GetURI(), useVSDiagnostics, category:
PullDiagnosticCategories
.DocumentAnalyzerSemantic);
127
testLspServer, document.GetURI(), useVSDiagnostics, previousResultId: syntaxAnalyzerResults.Single().ResultId, category:
PullDiagnosticCategories
.DocumentAnalyzerSyntax);
129
testLspServer, document.GetURI(), useVSDiagnostics, previousResultId: semanticAnalyzerResults.Single().ResultId, category:
PullDiagnosticCategories
.DocumentAnalyzerSemantic);
223
testLspServer, document.GetURI(), useVSDiagnostics: true, category:
PullDiagnosticCategories
.Task);
1134
var results = await RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics: true, includeTaskListItems: false, category:
PullDiagnosticCategories
.Task);
1151
var results = await RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics: true, includeTaskListItems: true, category:
PullDiagnosticCategories
.Task);
1183
var results = await RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics: true, includeTaskListItems: true, category:
PullDiagnosticCategories
.Task);
1203
var results = await RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics: true, includeTaskListItems: false, category:
PullDiagnosticCategories
.Task);
1220
var results = await RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics: true, includeTaskListItems: true, category:
PullDiagnosticCategories
.Task);
1240
var results = await RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics: true, includeTaskListItems: true, category:
PullDiagnosticCategories
.Task);
1268
var results = await RunGetDocumentPullDiagnosticsAsync(testLspServer, document.GetURI(), useVSDiagnostics: false, category:
PullDiagnosticCategories
.EditAndContinue);
1281
var results = await RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics: false, includeTaskListItems: false, category:
PullDiagnosticCategories
.EditAndContinue);
1314
var documentResults1 = await RunGetDocumentPullDiagnosticsAsync(testLspServer, openDocument.GetURI(), useVSDiagnostics, category:
PullDiagnosticCategories
.EditAndContinue);
1324
var workspaceResults1 = await RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics, includeTaskListItems: false, category:
PullDiagnosticCategories
.EditAndContinue);
1338
testLspServer, openDocument.GetURI(), previousResultId: documentResults1.Single().ResultId, useVSDiagnostics: useVSDiagnostics, category:
PullDiagnosticCategories
.EditAndContinue);
1346
testLspServer, useVSDiagnostics, previousResults: CreateDiagnosticParamsFromPreviousReports(workspaceResults1), includeTaskListItems: false, category:
PullDiagnosticCategories
.EditAndContinue);
1359
testLspServer, openDocument.GetURI(), previousResultId: documentResults2.Single().ResultId, useVSDiagnostics: useVSDiagnostics, category:
PullDiagnosticCategories
.EditAndContinue);
1366
testLspServer, useVSDiagnostics, previousResults: CreateDiagnosticParamsFromPreviousReports(workspaceResults2), includeTaskListItems: false, category:
PullDiagnosticCategories
.EditAndContinue);
2225
var resultTaskOne = RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics, useProgress: true, category:
PullDiagnosticCategories
.WorkspaceDocumentsAndProject, triggerConnectionClose: false);
2226
var resultTaskTwo = RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics, useProgress: true, category:
PullDiagnosticCategories
.EditAndContinue, triggerConnectionClose: false);
2231
resultTaskOne = RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics, useProgress: true, category:
PullDiagnosticCategories
.WorkspaceDocumentsAndProject, triggerConnectionClose: false);
2232
resultTaskTwo = RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics, useProgress: true, category:
PullDiagnosticCategories
.EditAndContinue, triggerConnectionClose: false);
2257
resultTaskOne = RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics, useProgress: true, category:
PullDiagnosticCategories
.WorkspaceDocumentsAndProject, triggerConnectionClose: false);
2258
resultTaskTwo = RunGetWorkspacePullDiagnosticsAsync(testLspServer, useVSDiagnostics, useProgress: true, category:
PullDiagnosticCategories
.EditAndContinue, triggerConnectionClose: false);