25 references to SymbolStartAnalyzer
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (24)
Diagnostics\DiagnosticAnalyzerTests.cs (23)
2859
TestSymbolStartAnalyzerCore(new
SymbolStartAnalyzer
(topLevelAction: false, SymbolKind.NamedType),
2873
TestSymbolStartAnalyzerCore(new
SymbolStartAnalyzer
(topLevelAction: false, SymbolKind.Namespace),
2884
TestSymbolStartAnalyzerCore(new
SymbolStartAnalyzer
(topLevelAction: false, SymbolKind.Method),
2902
TestSymbolStartAnalyzerCore(new
SymbolStartAnalyzer
(topLevelAction: false, SymbolKind.Field),
2909
TestSymbolStartAnalyzerCore(new
SymbolStartAnalyzer
(topLevelAction: false, SymbolKind.Property),
2916
TestSymbolStartAnalyzerCore(new
SymbolStartAnalyzer
(topLevelAction: false, SymbolKind.Event),
2923
TestSymbolStartAnalyzerCore(new
SymbolStartAnalyzer
(topLevelAction: false, SymbolKind.Parameter));
2929
var analyzer1 = new
SymbolStartAnalyzer
(topLevelAction: false, SymbolKind.Namespace, analyzerId: 1);
2930
var analyzer2 = new
SymbolStartAnalyzer
(topLevelAction: false, SymbolKind.Method, analyzerId: 2);
2955
var analyzer1 = new
SymbolStartAnalyzer
(topLevelAction: false, SymbolKind.NamedType, analyzerId: 1);
2956
var analyzer2 = new
SymbolStartAnalyzer
(topLevelAction: false, SymbolKind.Method, analyzerId: 2);
2995
analyzers[i] = new
SymbolStartAnalyzer
(topLevel, symbolKinds[i], analyzerId: i + 1);
3033
TestSymbolStartAnalyzerCore(new
SymbolStartAnalyzer
(topLevelAction: false, SymbolKind.Namespace, OperationKind.VariableDeclarationGroup),
3045
TestSymbolStartAnalyzerCore(new
SymbolStartAnalyzer
(topLevelAction: false, SymbolKind.NamedType, OperationKind.VariableDeclarationGroup),
3062
TestSymbolStartAnalyzerCore(new
SymbolStartAnalyzer
(topLevelAction: true, SymbolKind.Method, OperationKind.VariableDeclarationGroup),
3089
analyzers[i] = new
SymbolStartAnalyzer
(topLevelAction: false, symbolKinds[i], OperationKind.VariableDeclarationGroup, analyzerId: i + 1);
3149
analyzers[i] = new
SymbolStartAnalyzer
(topLevelAction: false, symbolKinds[i], OperationKind.VariableDeclarationGroup, analyzerId: i + 1);
3191
var analyzers = new DiagnosticAnalyzer[] { new
SymbolStartAnalyzer
(topLevelAction: false, SymbolKind.NamedType, OperationKind.Invocation) };
3223
var analyzers = new DiagnosticAnalyzer[] { new
SymbolStartAnalyzer
(topLevelAction: true, SymbolKind.NamedType, OperationKind.FieldReference) };
3265
var analyzers = ImmutableArray.Create<DiagnosticAnalyzer>(new
SymbolStartAnalyzer
(topLevelAction: false, SymbolKind.NamedType));
3311
var analyzers = ImmutableArray.Create<DiagnosticAnalyzer>(new
SymbolStartAnalyzer
(topLevelAction: false, SymbolKind.NamedType));
3347
var analyzer1 = new
SymbolStartAnalyzer
(topLevelAction: true, SymbolKind.Field, analyzerId: 1);
3348
var analyzer2 = new
SymbolStartAnalyzer
(topLevelAction: true, SymbolKind.Field, analyzerId: 2);
Diagnostics\GetDiagnosticsTests.cs (1)
715
var analyzers = ImmutableArray.Create<DiagnosticAnalyzer>(new
SymbolStartAnalyzer
(topLevelAction: false, SymbolKind.NamedType, OperationKind.VariableDeclaration));
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.vb (1)
1644
Dim analyzers = New DiagnosticAnalyzer() {New
SymbolStartAnalyzer
(topLevelAction:=False, SymbolKind.NamedType)}