CSharpSyntaxVisitor<TResult>.VisitMethodDeclaration 方法

定义

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

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

参数

返回

TResult

适用于