CSharpSyntaxVisitor<TResult>.VisitCompilationUnit 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
访问者访问 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