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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.