CSharpSyntaxVisitor<TResult>.VisitCompilationUnit 方法

定义

访问者访问 CompilationUnitSyntax 节点时调用。

public:
 virtual TResult VisitCompilationUnit(Microsoft::CodeAnalysis::CSharp::Syntax::CompilationUnitSyntax ^ node);
public virtual TResult VisitCompilationUnit (Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax node);
public virtual TResult? VisitCompilationUnit (Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax node);
abstract member VisitCompilationUnit : Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax -> 'Result
override this.VisitCompilationUnit : Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax -> 'Result
Public Overridable Function VisitCompilationUnit (node As CompilationUnitSyntax) As TResult

参数

返回

TResult

适用于