Share via


CSharpSyntaxVisitor<TResult>.VisitCompilationUnit Method

Definition

Called when the visitor visits a CompilationUnitSyntax node.

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

Parameters

Returns

TResult

Applies to