36 references to AnalysisKind
Microsoft.CodeAnalysis.Features (3)
Diagnostics\DiagnosticArguments.cs (3)
53/// Optional <see cref="AnalysisKind"/>, if computing specific kind of diagnostics for a document request, 55/// Only supported non-null values are <see cref="AnalysisKind.Syntax"/> and <see cref="AnalysisKind.Semantic"/>.
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DocumentAnalysisExecutor.cs (1)
80var kind = AnalysisScope.Kind;
Microsoft.CodeAnalysis.Workspaces (32)
Diagnostics\DiagnosticAnalysisResult.cs (5)
202private ImmutableDictionary<DocumentId, ImmutableArray<DiagnosticData>>? GetMap(AnalysisKind kind) 205AnalysisKind.Syntax => _syntaxLocals, 206AnalysisKind.Semantic => _semanticLocals, 207AnalysisKind.NonLocal => _nonLocals, 241public ImmutableArray<DiagnosticData> GetDocumentDiagnostics(DocumentId documentId, AnalysisKind kind)
Diagnostics\DiagnosticAnalyzerExtensions.cs (3)
26public static bool SupportAnalysisKind(this DiagnosticAnalyzer analyzer, AnalysisKind kind) 29AnalysisKind.Syntax => analyzer.SupportsSyntaxDiagnosticAnalysis(), 30AnalysisKind.Semantic => analyzer.SupportsSemanticDiagnosticAnalysis(),
Diagnostics\DocumentAnalysisScope.cs (4)
26AnalysisKind kind) 28Debug.Assert(kind is AnalysisKind.Syntax or AnalysisKind.Semantic); 46public AnalysisKind Kind { get; }
Diagnostics\Extensions.cs (20)
146var kind = documentAnalysisScope.Kind; 151case AnalysisKind.Syntax: 157treeToAnalyze, additionalDocumentId: null, spanToAnalyze, AnalysisKind.Syntax, diagnosticIdsToFilter, includeSuppressedDiagnostics); 163tree: null, documentAnalysisScope.TextDocument.Id, spanToAnalyze, AnalysisKind.Syntax, diagnosticIdsToFilter, includeSuppressedDiagnostics); 168case AnalysisKind.Semantic: 172treeToAnalyze, additionalDocumentId: null, spanToAnalyze, AnalysisKind.Semantic, diagnosticIdsToFilter, includeSuppressedDiagnostics); 186tree, additionalDocumentId: null, span: null, AnalysisKind.Syntax, diagnosticIdsToFilter, includeSuppressedDiagnostics); 192tree, additionalDocumentId: null, span: null, AnalysisKind.Semantic, diagnosticIdsToFilter, includeSuppressedDiagnostics); 198var kind = additionalDocumentId != null ? AnalysisKind.Syntax : AnalysisKind.NonLocal; 204tree: null, additionalDocumentId: null, span: null, AnalysisKind.NonLocal, diagnosticIdsToFilter, includeSuppressedDiagnostics); 217documentAnalysisScope.Span, AnalysisKind.Semantic, diagnosticIdsToFilter, includeSuppressedDiagnostics); 225span: null, AnalysisKind.Semantic, diagnosticIdsToFilter, includeSuppressedDiagnostics); 245AnalysisKind kind, 263AnalysisKind kind, 277case AnalysisKind.Syntax: 291case AnalysisKind.Semantic: 353case AnalysisKind.Syntax: 364case AnalysisKind.Semantic: