44 references to DiagnosticKind
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
Diagnostics\Suppression\SuppressionTests.cs (1)
488
document, span,
DiagnosticKind
.All, CancellationToken.None);
Microsoft.CodeAnalysis.EditorFeatures (11)
InlineDiagnostics\AbstractDiagnosticsTaggerProvider.cs (5)
42
CreateDiagnosticsTaggerProvider(
DiagnosticKind
.CompilerSyntax),
43
CreateDiagnosticsTaggerProvider(
DiagnosticKind
.CompilerSemantic),
44
CreateDiagnosticsTaggerProvider(
DiagnosticKind
.AnalyzerSyntax),
45
CreateDiagnosticsTaggerProvider(
DiagnosticKind
.AnalyzerSemantic),
50
SingleDiagnosticKindPullTaggerProvider CreateDiagnosticsTaggerProvider(
DiagnosticKind
diagnosticKind)
InlineDiagnostics\AbstractDiagnosticsTaggerProvider.SingleDiagnosticKindPullTaggerProvider.cs (6)
32
/// cref="
DiagnosticKind
"/>. It is itself never exported directly, but it it is used by the <see
34
/// cref="
DiagnosticKind
"/> to produce all the diagnostics for that feature.
38
DiagnosticKind
diagnosticKind,
43
private readonly
DiagnosticKind
_diagnosticKind = diagnosticKind;
59
private readonly bool _requiresBeforeTagsChangedNotification = diagnosticKind ==
DiagnosticKind
.CompilerSyntax && typeof(TTag).IsAssignableFrom(typeof(IErrorTag));
139
if (_diagnosticKind ==
DiagnosticKind
.AnalyzerSemantic)
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
Cohost\Handlers\Diagnostics.cs (1)
25
document, range: null,
DiagnosticKind
.All, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features (20)
CodeFixes\Service\CodeFixService.cs (3)
111
priorityProvider,
DiagnosticKind
.All, cancellationToken).ConfigureAwait(false);
203
priorityProvider,
DiagnosticKind
.All, cancellationToken).ConfigureAwait(false);
305
DiagnosticKind
.All, cancellationToken).ConfigureAwait(false);
CodeFixes\Service\CodeFixService.FixAllDiagnosticProvider.cs (1)
61
DiagnosticKind
.All, cancellationToken).ConfigureAwait(false));
Copilot\CopilotChangeAnalysis.cs (1)
37
[property: DataMember(Order = 0)]
DiagnosticKind
Kind,
Copilot\ICopilotChangeAnalysisService.cs (5)
181
[
DiagnosticKind
.CompilerSyntax,
DiagnosticKind
.CompilerSemantic,
DiagnosticKind
.AnalyzerSyntax,
DiagnosticKind
.AnalyzerSemantic],
217
DiagnosticKind
diagnosticKind,
Diagnostics\IDiagnosticAnalyzerService.cs (3)
86
DiagnosticKind
diagnosticKind,
100
TextDocument document, TextSpan? range,
DiagnosticKind
diagnosticKind, CancellationToken cancellationToken)
119
DiagnosticKind
diagnosticKind,
Diagnostics\Service\DiagnosticAnalyzerService.cs (1)
106
DiagnosticKind
diagnosticKinds,
Diagnostics\Service\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnosticsForSpan.cs (6)
56
DiagnosticKind
diagnosticKind,
112
if (diagnosticKind !=
DiagnosticKind
.All)
116
? diagnosticKind ==
DiagnosticKind
.CompilerSyntax
117
: diagnosticKind ==
DiagnosticKind
.AnalyzerSyntax;
119
? diagnosticKind ==
DiagnosticKind
.CompilerSemantic
120
: diagnosticKind ==
DiagnosticKind
.AnalyzerSemantic;
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
Features\CodeCleanup\AbstractCodeCleanupService.cs (1)
201
DiagnosticKind
.All,
Handler\Diagnostics\DiagnosticSourceProviders\DocumentSyntaxAndSemanticDiagnosticSourceProvider.cs (5)
17
DiagnosticKind
kind, string sourceName)
35
DiagnosticKind
.CompilerSyntax, PullDiagnosticCategories.DocumentCompilerSyntax)
44
DiagnosticKind
.CompilerSemantic, PullDiagnosticCategories.DocumentCompilerSemantic)
53
DiagnosticKind
.AnalyzerSyntax, PullDiagnosticCategories.DocumentAnalyzerSyntax)
62
DiagnosticKind
.AnalyzerSemantic, PullDiagnosticCategories.DocumentAnalyzerSemantic)
Handler\Diagnostics\DiagnosticSources\AbstractWorkspaceDocumentDiagnosticSource.cs (1)
50
sourceGeneratedDocument, range: null,
DiagnosticKind
.All, cancellationToken).ConfigureAwait(false);
Handler\Diagnostics\DiagnosticSources\DocumentDiagnosticSource.cs (3)
13
internal sealed class DocumentDiagnosticSource(
DiagnosticKind
diagnosticKind, TextDocument document)
16
public
DiagnosticKind
DiagnosticKind { get; } = diagnosticKind;
38
if (DiagnosticKind ==
DiagnosticKind
.AnalyzerSemantic)
Roslyn.VisualStudio.Next.UnitTests (1)
Services\ServiceHubServicesTests.cs (1)
1607
var diagnosticAnalysis = result.DiagnosticAnalyses.Single(d => d.Kind ==
DiagnosticKind
.CompilerSyntax);