다음을 통해 공유


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