11 references to IsRuntimeAsyncEnabledIn
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Await.cs (1)
290
var isRuntimeAsyncEnabled = Compilation.
IsRuntimeAsyncEnabledIn
(this.ContainingMemberOrLambda);
Binder\Binder_Invocation.cs (1)
268
if (IsInAsyncMethod() && Compilation.
IsRuntimeAsyncEnabledIn
(ContainingMemberOrLambda))
CodeGen\CodeGenerator.cs (2)
174
if (_method.IsAsync && _module.Compilation.
IsRuntimeAsyncEnabledIn
(_method))
326
&& _module.Compilation.
IsRuntimeAsyncEnabledIn
(_method)
Compiler\MethodCompiler.cs (2)
778
if (compilationState.Compilation.
IsRuntimeAsyncEnabledIn
(method))
1589
if (compilationState.Compilation.
IsRuntimeAsyncEnabledIn
(method))
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (1)
445
if (_F.Compilation.
IsRuntimeAsyncEnabledIn
(_F.CurrentFunction))
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1759
if (this.IsAsync && this.DeclaringCompilation.
IsRuntimeAsyncEnabledIn
(this))
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
653
return DeclaringCompilation.
IsRuntimeAsyncEnabledIn
(this);
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (2)
381
Debug.Assert(!compilation.
IsRuntimeAsyncEnabledIn
(this));
495
Debug.Assert(!compilation.
IsRuntimeAsyncEnabledIn
(this));