Skip to main content

CSharpFacts.IsIterationStatement(SyntaxKind) Method

Containing Type: CSharpFacts

Assembly: Roslynator.CSharp.dll

Returns true if a syntax of the specified kind is a for, foreach, while or do statement.

public static bool IsIterationStatement(Microsoft.CodeAnalysis.CSharp.SyntaxKind kind)

Parameters

kind SyntaxKind

Returns

Boolean