C# Class Microsoft.CodeAnalysis.CSharp.ForEachEnumeratorInfo

Information to be deduced while binding a foreach loop so that the loop can be lowered to a while over an enumerator. Not applicable to the array or string forms.
Show file Open project: lodejard/AllNetCore Class Usage Examples

Public Properties

Property Type Description
CollectionConversion Microsoft.CodeAnalysis.CSharp.Conversion
CollectionType TypeSymbol
CurrentConversion Microsoft.CodeAnalysis.CSharp.Conversion
CurrentPropertyGetter MethodSymbol
ElementType TypeSymbol
EnumeratorConversion Microsoft.CodeAnalysis.CSharp.Conversion
GetEnumeratorMethod MethodSymbol
Location BinderFlags
MoveNextMethod MethodSymbol
NeedsDisposeMethod bool

Private Methods

Method Description
ForEachEnumeratorInfo ( TypeSymbol collectionType, TypeSymbol elementType, MethodSymbol getEnumeratorMethod, MethodSymbol currentPropertyGetter, MethodSymbol moveNextMethod, bool needsDisposeMethod, Microsoft.CodeAnalysis.CSharp.Conversion collectionConversion, Microsoft.CodeAnalysis.CSharp.Conversion currentConversion, Microsoft.CodeAnalysis.CSharp.Conversion enumeratorConversion, BinderFlags location ) : System.Diagnostics

Property Details

CollectionConversion public property

public Conversion,Microsoft.CodeAnalysis.CSharp CollectionConversion
return Microsoft.CodeAnalysis.CSharp.Conversion

CollectionType public property

public TypeSymbol CollectionType
return TypeSymbol

CurrentConversion public property

public Conversion,Microsoft.CodeAnalysis.CSharp CurrentConversion
return Microsoft.CodeAnalysis.CSharp.Conversion

CurrentPropertyGetter public property

public MethodSymbol CurrentPropertyGetter
return MethodSymbol

ElementType public property

public TypeSymbol ElementType
return TypeSymbol

EnumeratorConversion public property

public Conversion,Microsoft.CodeAnalysis.CSharp EnumeratorConversion
return Microsoft.CodeAnalysis.CSharp.Conversion

GetEnumeratorMethod public property

public MethodSymbol GetEnumeratorMethod
return MethodSymbol

Location public property

public BinderFlags Location
return BinderFlags

MoveNextMethod public property

public MethodSymbol MoveNextMethod
return MethodSymbol

NeedsDisposeMethod public property

public bool NeedsDisposeMethod
return bool