3 overrides of IsDirectlyInIterator
Microsoft.CodeAnalysis.CSharp (3)
Binder\BuckStopsHereBinder.cs (1)
110internal override bool IsDirectlyInIterator
Binder\InMethodBinder.cs (1)
89internal override bool IsDirectlyInIterator
Binder\WithLambdaParametersBinder.cs (1)
63internal override bool IsDirectlyInIterator
5 references to IsDirectlyInIterator
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder.cs (1)
326return Next.IsDirectlyInIterator;
Binder\Binder.ValueChecks.cs (1)
1035else if (this.IsDirectlyInIterator && Compilation.IsFeatureEnabled(MessageID.IDS_FeatureRefUnsafeInIteratorAsync))
Binder\Binder_Statements.cs (2)
1164if (IsDirectlyInIterator || IsInAsyncMethod()) 3008if (IsDirectlyInIterator)
Binder\ForEachLoopBinder.cs (1)
528if (builder.InlineArraySpanType == WellKnownType.Unknown && getEnumeratorType.IsRestrictedType() && (IsDirectlyInIterator || IsInAsyncMethod()))