// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
namespace Microsoft.CodeAnalysis.Semantics
{
///
/// Represents a C# 'for' loop statement.
///
///
/// This interface is reserved for implementation by its associated APIs. We reserve the right to
/// change it in the future.
///
public interface IForLoopStatement : ILoopStatement
{
///
/// List of operations to execute before entry to the loop. This comes from the first clause of the for statement.
///
ImmutableArray Before { get; }
///
/// Condition of the loop. This comes from the second clause of the for statement.
///
IOperation Condition { get; }
///
/// List of operations to execute at the bottom of the loop. This comes from the third clause of the for statement.
///
ImmutableArray AtLoopBottom { get; }
}
}