Partilhar via


CSharpSyntaxVisitor<TResult>.VisitYieldStatement Method

Definition

Called when the visitor visits a YieldStatementSyntax node.

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

Parameters

Returns

TResult

Applies to