21 references to AnalysisKind
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (16)
Diagnostics\DiagnosticAnalyzerTests.cs (15)
3375
var namedTypeAnalyzer = new NamedTypeAnalyzer(NamedTypeAnalyzer.
AnalysisKind
.Symbol);
3390
namedTypeAnalyzer = new NamedTypeAnalyzer(NamedTypeAnalyzer.
AnalysisKind
.Symbol);
3399
namedTypeAnalyzer = new NamedTypeAnalyzer(NamedTypeAnalyzer.
AnalysisKind
.Symbol, configurable: false);
3418
var namedTypeAnalyzer = new NamedTypeAnalyzer(NamedTypeAnalyzer.
AnalysisKind
.SymbolStartEnd);
3434
namedTypeAnalyzer = new NamedTypeAnalyzer(NamedTypeAnalyzer.
AnalysisKind
.SymbolStartEnd, GeneratedCodeAnalysisFlags.Analyze);
3443
namedTypeAnalyzer = new NamedTypeAnalyzer(NamedTypeAnalyzer.
AnalysisKind
.SymbolStartEnd, GeneratedCodeAnalysisFlags.None);
3452
namedTypeAnalyzer = new NamedTypeAnalyzer(NamedTypeAnalyzer.
AnalysisKind
.SymbolStartEnd, configurable: false);
3471
var namedTypeAnalyzer = new NamedTypeAnalyzer(NamedTypeAnalyzer.
AnalysisKind
.CompilationStartEnd);
3486
namedTypeAnalyzer = new NamedTypeAnalyzer(NamedTypeAnalyzer.
AnalysisKind
.CompilationStartEnd, GeneratedCodeAnalysisFlags.Analyze);
3495
namedTypeAnalyzer = new NamedTypeAnalyzer(NamedTypeAnalyzer.
AnalysisKind
.CompilationStartEnd, GeneratedCodeAnalysisFlags.None);
3504
namedTypeAnalyzer = new NamedTypeAnalyzer(NamedTypeAnalyzer.
AnalysisKind
.CompilationStartEnd, configurable: false);
3522
var namedTypeAnalyzer = new NamedTypeAnalyzer(NamedTypeAnalyzer.
AnalysisKind
.Symbol);
3537
namedTypeAnalyzer = new NamedTypeAnalyzer(NamedTypeAnalyzer.
AnalysisKind
.Symbol);
3543
namedTypeAnalyzer = new NamedTypeAnalyzer(NamedTypeAnalyzer.
AnalysisKind
.Symbol, configurable: false);
3558
namedTypeAnalyzer = new NamedTypeAnalyzer(NamedTypeAnalyzer.
AnalysisKind
.Symbol);
Diagnostics\GetDiagnosticsTests.cs (1)
588
var analyzer = new NamedTypeAnalyzer(NamedTypeAnalyzer.
AnalysisKind
.Symbol, configurable: false);
Microsoft.CodeAnalysis.Test.Utilities (5)
Diagnostics\CommonDiagnosticAnalyzers.cs (5)
2395
private readonly
AnalysisKind
_analysisKind;
2399
public NamedTypeAnalyzer(
AnalysisKind
analysisKind, GeneratedCodeAnalysisFlags analysisFlags = GeneratedCodeAnalysisFlags.None, bool configurable = true)
2425
case
AnalysisKind
.Symbol:
2433
case
AnalysisKind
.SymbolStartEnd:
2445
case
AnalysisKind
.CompilationStartEnd: