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.
Mostra 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_oe property

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

CollectionType public_oe property

public TypeSymbol CollectionType
return TypeSymbol

CurrentConversion public_oe property

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

CurrentPropertyGetter public_oe property

public MethodSymbol CurrentPropertyGetter
return MethodSymbol

ElementType public_oe property

public TypeSymbol ElementType
return TypeSymbol

EnumeratorConversion public_oe property

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

GetEnumeratorMethod public_oe property

public MethodSymbol GetEnumeratorMethod
return MethodSymbol

Location public_oe property

public BinderFlags Location
return BinderFlags

MoveNextMethod public_oe property

public MethodSymbol MoveNextMethod
return MethodSymbol

NeedsDisposeMethod public_oe property

public bool NeedsDisposeMethod
return bool