AnalysisContext.RegisterSymbolAction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RegisterSymbolAction(Action<SymbolAnalysisContext>, SymbolKind[]) |
Register an action to be executed at completion of semantic analysis of an ISymbol with an appropriate Kind. A symbol action reports Diagnostics about ISymbols. |
RegisterSymbolAction(Action<SymbolAnalysisContext>, ImmutableArray<SymbolKind>) |
Register an action to be executed at completion of semantic analysis of an ISymbol with an appropriate Kind. A symbol action reports Diagnostics about ISymbols. |
RegisterSymbolAction(Action<SymbolAnalysisContext>, SymbolKind[])
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
Register an action to be executed at completion of semantic analysis of an ISymbol with an appropriate Kind. A symbol action reports Diagnostics about ISymbols.
public:
void RegisterSymbolAction(Action<Microsoft::CodeAnalysis::Diagnostics::SymbolAnalysisContext> ^ action, ... cli::array <Microsoft::CodeAnalysis::SymbolKind> ^ symbolKinds);
public void RegisterSymbolAction (Action<Microsoft.CodeAnalysis.Diagnostics.SymbolAnalysisContext> action, params Microsoft.CodeAnalysis.SymbolKind[] symbolKinds);
member this.RegisterSymbolAction : Action<Microsoft.CodeAnalysis.Diagnostics.SymbolAnalysisContext> * Microsoft.CodeAnalysis.SymbolKind[] -> unit
Public Sub RegisterSymbolAction (action As Action(Of SymbolAnalysisContext), ParamArray symbolKinds As SymbolKind())
Parameters
- action
- Action<SymbolAnalysisContext>
Action to be executed for an ISymbol.
- symbolKinds
- SymbolKind[]
Action will be executed only if an ISymbol's Kind matches one of the SymbolKind values.
Applies to
RegisterSymbolAction(Action<SymbolAnalysisContext>, ImmutableArray<SymbolKind>)
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
- Source:
- DiagnosticAnalysisContext.cs
Register an action to be executed at completion of semantic analysis of an ISymbol with an appropriate Kind. A symbol action reports Diagnostics about ISymbols.
public:
abstract void RegisterSymbolAction(Action<Microsoft::CodeAnalysis::Diagnostics::SymbolAnalysisContext> ^ action, System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::SymbolKind> symbolKinds);
public abstract void RegisterSymbolAction (Action<Microsoft.CodeAnalysis.Diagnostics.SymbolAnalysisContext> action, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.SymbolKind> symbolKinds);
abstract member RegisterSymbolAction : Action<Microsoft.CodeAnalysis.Diagnostics.SymbolAnalysisContext> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.SymbolKind> -> unit
Public MustOverride Sub RegisterSymbolAction (action As Action(Of SymbolAnalysisContext), symbolKinds As ImmutableArray(Of SymbolKind))
Parameters
- action
- Action<SymbolAnalysisContext>
Action to be executed for an ISymbol.
- symbolKinds
- ImmutableArray<SymbolKind>
Action will be executed only if an ISymbol's Kind matches one of the SymbolKind values.
Applies to
.NET