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