SyntaxExtensions.IsYieldReturn(YieldStatementSyntax) Method
Containing Type: SyntaxExtensions
Assembly: Roslynator.CSharp.dll
Returns true if the specified statement is a yield return statement.
public static bool IsYieldReturn(this Microsoft.CodeAnalysis.CSharp.Syntax.YieldStatementSyntax yieldStatement)
Parameters
yieldStatement YieldStatementSyntax