Partager via


CSharpSyntaxVisitor<TResult>.VisitMethodDeclaration Method

Definition

Called when the visitor visits a MethodDeclarationSyntax node.

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

Parameters

Returns

TResult

Applies to