3 overrides of IsDirectlyInIterator
Microsoft.CodeAnalysis.CSharp (3)
Binder\BuckStopsHereBinder.cs (1)
110
internal override bool
IsDirectlyInIterator
Binder\InMethodBinder.cs (1)
90
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)
1038
else if (this.
IsDirectlyInIterator
&& Compilation.IsFeatureEnabled(MessageID.IDS_FeatureRefUnsafeInIteratorAsync))
Binder\Binder_Statements.cs (2)
1166
if (
IsDirectlyInIterator
|| IsInAsyncMethod())
3025
if (
IsDirectlyInIterator
)
Binder\ForEachLoopBinder.cs (1)
542
if (builder.InlineArraySpanType == WellKnownType.Unknown && getEnumeratorType.IsRestrictedType() && (
IsDirectlyInIterator
|| IsInAsyncMethod()))