Compartilhar via


ForEachStatementInfo Struct

Definition

Structure containing all semantic information about a for each statement.

public value class ForEachStatementInfo : IEquatable<Microsoft::CodeAnalysis::CSharp::ForEachStatementInfo>
public struct ForEachStatementInfo : IEquatable<Microsoft.CodeAnalysis.CSharp.ForEachStatementInfo>
public readonly struct ForEachStatementInfo : IEquatable<Microsoft.CodeAnalysis.CSharp.ForEachStatementInfo>
type ForEachStatementInfo = struct
Public Structure ForEachStatementInfo
Implements IEquatable(Of ForEachStatementInfo)
Inheritance
ForEachStatementInfo
Implements

Properties

CurrentConversion

The conversion from the type of the CurrentProperty to the ElementType.

CurrentProperty

Gets the "Current" property.

DisposeMethod

Gets the "Dispose" method (or "DisposeAsync" in an asynchronous foreach).

ElementConversion

The conversion from the ElementType to the iteration variable type.

ElementType

The intermediate type to which the output of the CurrentProperty is converted before being converted to the iteration variable type.

GetEnumeratorMethod

Gets the "GetEnumerator" method.

IsAsynchronous

Whether this is an asynchronous foreach.

MoveNextMethod

Gets the "MoveNext" method (or "MoveNextAsync" in an asynchronous foreach).

Methods

Equals(ForEachStatementInfo)
Equals(Object)
GetHashCode()

Applies to