Skip to main content

CSharpFactory.ForStatement(VariableDeclarationSyntax, ExpressionSyntax, ExpressionSyntax, StatementSyntax) Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

public static Microsoft.CodeAnalysis.CSharp.Syntax.ForStatementSyntax ForStatement(Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax declaration, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax condition, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax incrementor, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement)

Parameters

declaration VariableDeclarationSyntax

condition ExpressionSyntax

incrementor ExpressionSyntax

statement StatementSyntax

Returns

ForStatementSyntax