2 references to GetEnumeratorInfo
Microsoft.CodeAnalysis.CSharp (2)
Binder\ForEachLoopBinder.cs (2)
706
EnumeratorResult found =
GetEnumeratorInfo
(ref builder, ref collectionExpr, isAsync, diagnostics);
728
bool wrongAsync =
GetEnumeratorInfo
(ref ignoredBuilder, ref collectionExpr, !isAsync, BindingDiagnosticBag.Discarded) == EnumeratorResult.Succeeded;