5 references to GetEnumeratorInfoAndInferCollectionElementType
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Conversions.cs (1)
1692
bool result =
GetEnumeratorInfoAndInferCollectionElementType
(
Binder\Binder_Expressions.cs (1)
5287
bool hasErrors = !@this.
GetEnumeratorInfoAndInferCollectionElementType
(syntax, syntax.Expression, ref expression, isAsync: false, isSpread: true, diagnostics, inferredType: out _, out builder) ||
Binder\ForEachLoopBinder.cs (3)
195
bool hasErrors = !
GetEnumeratorInfoAndInferCollectionElementType
(_syntax, _syntax.Expression, ref collectionExpr, isAsync: IsAsync, isSpread: false, diagnostics, out inferredType, builder: out _);
228
bool hasErrors = !
GetEnumeratorInfoAndInferCollectionElementType
(_syntax, _syntax.Expression, ref collectionExpr, isAsync: IsAsync, isSpread: false, diagnostics, out inferredType, out builder);
628
GetEnumeratorInfoAndInferCollectionElementType
(_syntax, collectionSyntax, ref collectionExpr, isAsync: IsAsync, isSpread: false, diagnostics, out TypeWithAnnotations inferredType, builder: out _);