2 overrides of IsAsync
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.QueryUnboundLambdaState.cs (1)
47public override bool IsAsync { get { return false; } }
BoundTree\UnboundLambda.cs (1)
1485public override bool IsAsync { get { return _isAsync; } }
7 references to IsAsync
Microsoft.CodeAnalysis.CSharp (7)
BoundTree\UnboundLambda.cs (7)
475public bool IsAsync { get { return Data.IsAsync; } } 726isAsync: IsAsync, 787var cacheKey = ReturnInferenceCacheKey.Create(delegateType, IsAsync); 863if (IsAsync && !ErrorFacts.PreventsSuccessfulDelegateConversion(diagnostics.DiagnosticBag)) 901ReturnInferenceCacheKey.GetFields(delegateType, IsAsync, out var parameterTypes, out var parameterRefKinds, out _); 1008var cacheKey = ReturnInferenceCacheKey.Create(delegateType, IsAsync); 1191ReturnInferenceCacheKey.GetFields(delegateType, IsAsync, out var parameterTypes, out var parameterRefKinds, out _);