Поделиться через


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

Применяется к