8 references to IsAsync
Microsoft.CodeAnalysis.CSharp (8)
Binder\ForEachLoopBinder.cs (8)
195bool hasErrors = !GetEnumeratorInfoAndInferCollectionElementType(_syntax, _syntax.Expression, ref collectionExpr, isAsync: IsAsync, isSpread: false, diagnostics, out inferredType, builder: out _); 218if (IsAsync) 228bool hasErrors = !GetEnumeratorInfoAndInferCollectionElementType(_syntax, _syntax.Expression, ref collectionExpr, isAsync: IsAsync, isSpread: false, diagnostics, out inferredType, out builder); 243var messageId = IsAsync ? MessageID.IDS_FeatureExtensionGetAsyncEnumerator : MessageID.IDS_FeatureExtensionGetEnumerator; 259if (IsAsync) 570if (builder.NeedsDisposal && IsAsync) 580IsIEnumerableT(builder.CollectionType.OriginalDefinition, IsAsync, Compilation) || 624GetEnumeratorInfoAndInferCollectionElementType(_syntax, collectionSyntax, ref collectionExpr, isAsync: IsAsync, isSpread: false, diagnostics, out TypeWithAnnotations inferredType, builder: out _);