44 references to DiagnosticKind
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
Diagnostics\Suppression\SuppressionTests.cs (1)
488document, span, DiagnosticKind.All, CancellationToken.None);
Microsoft.CodeAnalysis.EditorFeatures (11)
InlineDiagnostics\AbstractDiagnosticsTaggerProvider.cs (5)
42CreateDiagnosticsTaggerProvider(DiagnosticKind.CompilerSyntax), 43CreateDiagnosticsTaggerProvider(DiagnosticKind.CompilerSemantic), 44CreateDiagnosticsTaggerProvider(DiagnosticKind.AnalyzerSyntax), 45CreateDiagnosticsTaggerProvider(DiagnosticKind.AnalyzerSemantic), 50SingleDiagnosticKindPullTaggerProvider 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. 38DiagnosticKind diagnosticKind, 43private readonly DiagnosticKind _diagnosticKind = diagnosticKind; 59private readonly bool _requiresBeforeTagsChangedNotification = diagnosticKind == DiagnosticKind.CompilerSyntax && typeof(TTag).IsAssignableFrom(typeof(IErrorTag)); 139if (_diagnosticKind == DiagnosticKind.AnalyzerSemantic)
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
Cohost\Handlers\Diagnostics.cs (1)
25document, range: null, DiagnosticKind.All, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features (20)
CodeFixes\Service\CodeFixService.cs (3)
111priorityProvider, DiagnosticKind.All, cancellationToken).ConfigureAwait(false); 203priorityProvider, DiagnosticKind.All, cancellationToken).ConfigureAwait(false); 305DiagnosticKind.All, cancellationToken).ConfigureAwait(false);
CodeFixes\Service\CodeFixService.FixAllDiagnosticProvider.cs (1)
61DiagnosticKind.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], 217DiagnosticKind diagnosticKind,
Diagnostics\IDiagnosticAnalyzerService.cs (3)
86DiagnosticKind diagnosticKind, 100TextDocument document, TextSpan? range, DiagnosticKind diagnosticKind, CancellationToken cancellationToken) 119DiagnosticKind diagnosticKind,
Diagnostics\Service\DiagnosticAnalyzerService.cs (1)
106DiagnosticKind diagnosticKinds,
Diagnostics\Service\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnosticsForSpan.cs (6)
56DiagnosticKind diagnosticKind, 112if (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)
201DiagnosticKind.All,
Handler\Diagnostics\DiagnosticSourceProviders\DocumentSyntaxAndSemanticDiagnosticSourceProvider.cs (5)
17DiagnosticKind kind, string sourceName) 35DiagnosticKind.CompilerSyntax, PullDiagnosticCategories.DocumentCompilerSyntax) 44DiagnosticKind.CompilerSemantic, PullDiagnosticCategories.DocumentCompilerSemantic) 53DiagnosticKind.AnalyzerSyntax, PullDiagnosticCategories.DocumentAnalyzerSyntax) 62DiagnosticKind.AnalyzerSemantic, PullDiagnosticCategories.DocumentAnalyzerSemantic)
Handler\Diagnostics\DiagnosticSources\AbstractWorkspaceDocumentDiagnosticSource.cs (1)
50sourceGeneratedDocument, range: null, DiagnosticKind.All, cancellationToken).ConfigureAwait(false);
Handler\Diagnostics\DiagnosticSources\DocumentDiagnosticSource.cs (3)
13internal sealed class DocumentDiagnosticSource(DiagnosticKind diagnosticKind, TextDocument document) 16public DiagnosticKind DiagnosticKind { get; } = diagnosticKind; 38if (DiagnosticKind == DiagnosticKind.AnalyzerSemantic)
Roslyn.VisualStudio.Next.UnitTests (1)
Services\ServiceHubServicesTests.cs (1)
1607var diagnosticAnalysis = result.DiagnosticAnalyses.Single(d => d.Kind == DiagnosticKind.CompilerSyntax);