共用方式為


CSharpSyntaxVisitor.VisitCompilationUnit(CompilationUnitSyntax) Method

Definition

Called when the visitor visits a CompilationUnitSyntax node.

public:
 virtual void VisitCompilationUnit(Microsoft::CodeAnalysis::CSharp::Syntax::CompilationUnitSyntax ^ node);
public virtual void VisitCompilationUnit (Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax node);
abstract member VisitCompilationUnit : Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax -> unit
override this.VisitCompilationUnit : Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax -> unit
Public Overridable Sub VisitCompilationUnit (node As CompilationUnitSyntax)

Parameters

Applies to