Open sandboxFocus

Interface IStatementList

Represents a list of statements that can be used in contexts requiring multiple statements, such as switch case sections or block contents.

Namespace: Metalama.Framework.Code.SyntaxBuilders
Assembly: Metalama.Framework.dll
Syntax
public interface IStatementList
Remarks

IStatementList is a compile-time abstraction over a sequence of statements. Unlike regular collections, statement lists cannot be enumerated at compile time because they are evaluated lazily when the statements are inserted into the target syntax tree.

To create an IStatementList, use one of the following methods:

Extension Methods

See Also