62 references to RegisterSymbolAction
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (1)
873=> context.RegisterSymbolAction(OnSymbol, SymbolKind.NamedType);
Diagnostics\Suppression\RemoveUnnecessaryPragmaSuppressionsTests.cs (1)
1306context.RegisterSymbolAction(context =>
Squiggles\ErrorSquiggleProducerTests.cs (1)
428context.RegisterSymbolAction(
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
Diagnostics\DiagnosticAnalyzerTests.cs (3)
245context.RegisterSymbolAction(AnalyzeSymbol, SymbolKind.NamedType); 510context.RegisterSymbolAction( 837context.RegisterSymbolAction(ctxt =>
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (30)
Semantics\PrimaryConstructorTests.cs (11)
3497context.RegisterSymbolAction(Handle, SymbolKind.Method); 3498context.RegisterSymbolAction(Handle, SymbolKind.Property); 3499context.RegisterSymbolAction(Handle, SymbolKind.Parameter); 3500context.RegisterSymbolAction(Handle, SymbolKind.NamedType); 4561context.RegisterSymbolAction(Handle1, SymbolKind.Method); 4562context.RegisterSymbolAction(Handle2, SymbolKind.Property); 4563context.RegisterSymbolAction(Handle3, SymbolKind.Parameter); 4901context.RegisterSymbolAction(Handle, SymbolKind.Method); 4902context.RegisterSymbolAction(Handle, SymbolKind.Property); 4903context.RegisterSymbolAction(Handle, SymbolKind.Parameter); 4904context.RegisterSymbolAction(Handle, SymbolKind.NamedType);
Semantics\RecordStructTests.cs (7)
6153context.RegisterSymbolAction(Handle, SymbolKind.Method); 6154context.RegisterSymbolAction(Handle, SymbolKind.Property); 6155context.RegisterSymbolAction(Handle, SymbolKind.Parameter); 6156context.RegisterSymbolAction(Handle, SymbolKind.NamedType); 6787context.RegisterSymbolAction(Handle1, SymbolKind.Method); 6788context.RegisterSymbolAction(Handle2, SymbolKind.Property); 6789context.RegisterSymbolAction(Handle3, SymbolKind.Parameter);
Semantics\RecordTests.cs (7)
26533context.RegisterSymbolAction(Handle, SymbolKind.Method); 26534context.RegisterSymbolAction(Handle, SymbolKind.Property); 26535context.RegisterSymbolAction(Handle, SymbolKind.Parameter); 26536context.RegisterSymbolAction(Handle, SymbolKind.NamedType); 27626context.RegisterSymbolAction(Handle1, SymbolKind.Method); 27627context.RegisterSymbolAction(Handle2, SymbolKind.Property); 27628context.RegisterSymbolAction(Handle3, SymbolKind.Parameter);
Semantics\TopLevelStatementsTests.cs (4)
6518context.RegisterSymbolAction(Handle, SymbolKind.Method); 7257context.RegisterSymbolAction(Handle1, SymbolKind.Method); 7258context.RegisterSymbolAction(Handle2, SymbolKind.Namespace); 7259context.RegisterSymbolAction(Handle3, SymbolKind.NamedType);
SourceGeneration\GeneratorDriverTests.cs (1)
185context.RegisterSymbolAction(Handle, SymbolKind.NamedType);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (1)
1392context.RegisterSymbolAction(c =>
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (9)
CodeFixes\CodeFixServiceTests.vb (1)
213context.RegisterSymbolAction(AddressOf AnalyzeSymbol, SymbolKind.NamedType)
Diagnostics\AdditionalFileDiagnosticsTests.vb (1)
79context.RegisterSymbolAction(AddressOf AnalyzeSymbol, SymbolKind.NamedType)
Diagnostics\DiagnosticServiceTests.vb (7)
1287context.RegisterSymbolAction(AddressOf AnalyzeSymbol, SymbolKind.Method) 1577context.RegisterSymbolAction(AddressOf AnalyzeSymbol, SymbolKind.NamedType) 1602context.RegisterSymbolAction(AddressOf AnalyzeSymbol, SymbolKind.NamedType) 1654context.RegisterSymbolAction(AddressOf AnalyzeSymbol, SymbolKind.NamedType) 1671context.RegisterSymbolAction(AddressOf AnalyzeSymbol, SymbolKindsOfInterest) 1778context.RegisterSymbolAction(Sub(s) Return, SymbolKind.NamedType) 1918context.RegisterSymbolAction(Sub(ctxt)
Microsoft.CodeAnalysis.Test.Utilities (13)
Diagnostics\CommonDiagnosticAnalyzers.cs (9)
677context.RegisterSymbolAction(context => 703context.RegisterSymbolAction(AnalyzeSymbol, SymbolKind.Namespace); 915context.RegisterSymbolAction(symbolContext => 954context.RegisterSymbolAction(symbolContext => 1095context.RegisterSymbolAction(symbolContext => 1749context.RegisterSymbolAction(SymbolAction, SymbolKind.Parameter); 2280context.RegisterSymbolAction(c => 2365context.RegisterSymbolAction(context => 2438context.RegisterSymbolAction(
Diagnostics\SuppressMessageAttributeTests.DiagnosticAnalyzers.cs (3)
64analysisContext.RegisterSymbolAction( 97analysisContext.RegisterSymbolAction( 281analysisContext.RegisterSymbolAction(
Diagnostics\TestDiagnosticAnalyzer.cs (1)
47context.RegisterSymbolAction(this.AnalyzeSymbol, AllSymbolKinds.ToArray());
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\AnalysisContextInfoTests.cs (1)
79c.RegisterSymbolAction(b => ThrowIfMatch(nameof(c.RegisterSymbolAction), new AnalysisContextInfo(b.Compilation, b.Symbol)), SymbolKind.NamedType);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Diagnostics\DiagnosticAnalyzerTests.vb (2)
312context.RegisterSymbolAction(AddressOf AnalyzeSymbol, SymbolKind.NamedType) 506context.RegisterSymbolAction(AddressOf AnalyzeSymbol, SymbolKind.Field)