AnalysisContext.RegisterSyntaxTreeAction 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.
Register an action to be executed at completion of parsing of a code document. A syntax tree action reports Diagnostics about the SyntaxTree of a document.
public:
abstract void RegisterSyntaxTreeAction(Action<Microsoft::CodeAnalysis::Diagnostics::SyntaxTreeAnalysisContext> ^ action);
public abstract void RegisterSyntaxTreeAction (Action<Microsoft.CodeAnalysis.Diagnostics.SyntaxTreeAnalysisContext> action);
abstract member RegisterSyntaxTreeAction : Action<Microsoft.CodeAnalysis.Diagnostics.SyntaxTreeAnalysisContext> -> unit
Public MustOverride Sub RegisterSyntaxTreeAction (action As Action(Of SyntaxTreeAnalysisContext))
Parameters
- action
- Action<SyntaxTreeAnalysisContext>
Action to be executed at completion of parsing of a document.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.