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