24 references to AnalysisKind
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Diagnostics\DiagnosticAnalyzerTests.cs (5)
4288
public async Task TestFilterSpanOnContextAsync(FilterSpanTestAnalyzer.
AnalysisKind
analysisKind, bool testGetAnalysisResultApi, bool testAnalyzersBasedOverload)
4324
var filterSpan = analysisKind == FilterSpanTestAnalyzer.
AnalysisKind
.AdditionalFile
4334
case FilterSpanTestAnalyzer.
AnalysisKind
.SyntaxTree:
4350
case FilterSpanTestAnalyzer.
AnalysisKind
.AdditionalFile:
4373
if (analysisKind == FilterSpanTestAnalyzer.
AnalysisKind
.AdditionalFile)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (6)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (6)
727
public async Task TestFilterSpanOnContextAsync(FilterSpanTestAnalyzer.
AnalysisKind
kind)
757
var filterSpan = kind == FilterSpanTestAnalyzer.
AnalysisKind
.AdditionalFile
769
var analysisKind = kind is FilterSpanTestAnalyzer.
AnalysisKind
.SyntaxTree or FilterSpanTestAnalyzer.
AnalysisKind
.AdditionalFile
772
var documentToAnalyze = kind == FilterSpanTestAnalyzer.
AnalysisKind
.AdditionalFile ? additionalDocument : document;
779
if (kind == FilterSpanTestAnalyzer.
AnalysisKind
.AdditionalFile)
Microsoft.CodeAnalysis.Test.Utilities (13)
Diagnostics\CommonDiagnosticAnalyzers.cs (13)
3085
private readonly
AnalysisKind
_analysisKind;
3087
public FilterSpanTestAnalyzer(
AnalysisKind
analysisKind)
3102
case
AnalysisKind
.SyntaxTree:
3110
case
AnalysisKind
.AdditionalFile:
3118
case
AnalysisKind
.SemanticModel:
3126
case
AnalysisKind
.Symbol:
3134
case
AnalysisKind
.SymbolStart:
3151
case
AnalysisKind
.Operation:
3159
case
AnalysisKind
.OperationBlockStart:
3176
case
AnalysisKind
.OperationBlock:
3184
case
AnalysisKind
.SyntaxNode:
3192
case
AnalysisKind
.CodeBlockStart:
3209
case
AnalysisKind
.CodeBlock: