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