49 references to DiagnosticKind
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
Diagnostics\Suppression\SuppressionTests.cs (1)
489document, 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.EditorFeatures.UnitTests (3)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (3)
834var analysisKind = kind is FilterSpanTestAnalyzer.AnalysisKind.SyntaxTree or FilterSpanTestAnalyzer.AnalysisKind.AdditionalFile 835? DiagnosticKind.AnalyzerSyntax 836: DiagnosticKind.AnalyzerSemantic;
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
Cohost\Handlers\Diagnostics.cs (1)
26document, range: null, DiagnosticKind.All, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features (20)
CodeFixes\Service\CodeFixService.cs (3)
106priority, DiagnosticKind.All, cancellationToken).ConfigureAwait(false); 198priority, DiagnosticKind.All, cancellationToken).ConfigureAwait(false); 296DiagnosticKind.All, cancellationToken).ConfigureAwait(false);
CodeFixes\Service\CodeFixService.FixAllDiagnosticProvider.cs (1)
57priority: null, DiagnosticKind.All, cancellationToken).ConfigureAwait(false));
Copilot\CopilotChangeAnalysis.cs (1)
37[property: DataMember(Order = 0)] DiagnosticKind Kind,
Copilot\ICopilotChangeAnalysisService.cs (5)
169[DiagnosticKind.CompilerSyntax, DiagnosticKind.CompilerSemantic, DiagnosticKind.AnalyzerSyntax, DiagnosticKind.AnalyzerSemantic], 205DiagnosticKind diagnosticKind,
Diagnostics\IDiagnosticAnalyzerService.cs (3)
93DiagnosticKind diagnosticKind, 122this IDiagnosticAnalyzerService service, TextDocument document, TextSpan? range, DiagnosticKind diagnosticKind, CancellationToken cancellationToken) 141DiagnosticKind diagnosticKind,
Diagnostics\Service\DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs (6)
44DiagnosticKind diagnosticKind, 102if (diagnosticKind != DiagnosticKind.All) 106? diagnosticKind == DiagnosticKind.CompilerSyntax 107: diagnosticKind == DiagnosticKind.AnalyzerSyntax; 109? diagnosticKind == DiagnosticKind.CompilerSemantic 110: diagnosticKind == DiagnosticKind.AnalyzerSemantic;
Diagnostics\Service\DiagnosticAnalyzerService_RemoteOrLocalDispatcher.cs (1)
193DiagnosticKind diagnosticKind,
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
Features\CodeCleanup\AbstractCodeCleanupService.cs (1)
218DiagnosticKind.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)
44sourceGeneratedDocument, 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; 32if (DiagnosticKind == DiagnosticKind.AnalyzerSemantic)
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\DiagnosticAnalyzer\RemoteDiagnosticAnalyzerService.cs (1)
223DiagnosticKind diagnosticKind,
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\IRemoteDiagnosticAnalyzerService.cs (1)
29DiagnosticKind diagnosticKind,
Roslyn.VisualStudio.Next.UnitTests (1)
Services\ServiceHubServicesTests.cs (1)
1873var diagnosticAnalysis = result.DiagnosticAnalyses.Single(d => d.Kind == DiagnosticKind.CompilerSyntax);