Base:
property
IsAsync
Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol.IsAsync
3 references to IsAsync
Microsoft.CodeAnalysis.CSharp (3)
BoundTree\UnboundLambda.cs (1)
1008
inferredReturnType = BoundLambda.InferReturnType(returnTypes, _unboundLambda, lambdaBodyBinder, delegateType, lambdaSymbol.
IsAsync
, lambdaBodyBinder.Conversions);
Symbols\Source\LambdaSymbol.cs (2)
175
var runtimeAsyncEnabledDuringInference =
IsAsync
&& _binder.Compilation.IsRuntimeAsyncEnabledIn(this);
179
_runtimeAsyncEnabledChangedDuringInference =
IsAsync
&& runtimeAsyncEnabledDuringInference != _binder.Compilation.IsRuntimeAsyncEnabledIn(this);