public BoundForStatement(ForStatementSyntax syntax, string identifier, BaseBoundExpression fromExpression, BaseBoundExpression toExpression, BaseBoundExpression stepExpressionOpt, BoundStatementBlock body) { Debug.Assert(!syntax.IsDefault(), "'syntax' must not be null."); Debug.Assert(!identifier.IsDefault(), "'identifier' must not be null."); Debug.Assert(!fromExpression.IsDefault(), "'fromExpression' must not be null."); Debug.Assert(!toExpression.IsDefault(), "'toExpression' must not be null."); Debug.Assert(!body.IsDefault(), "'body' must not be null."); this.Syntax = syntax; this.Identifier = identifier; this.FromExpression = fromExpression; this.ToExpression = toExpression; this.StepExpressionOpt = stepExpressionOpt; this.Body = body; }