CSharpSyntaxVisitor.VisitMethodDeclaration(MethodDeclarationSyntax) 方法

定义

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

public:
 virtual void VisitMethodDeclaration(Microsoft::CodeAnalysis::CSharp::Syntax::MethodDeclarationSyntax ^ node);
public virtual void VisitMethodDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax node);
abstract member VisitMethodDeclaration : Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax -> unit
override this.VisitMethodDeclaration : Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax -> unit
Public Overridable Sub VisitMethodDeclaration (node As MethodDeclarationSyntax)

参数

适用于