20 references to ERR_UnsupportedFeatureInRuntimeAsync
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Invocation.cs (1)
271
diagnostics.Add(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, node, ContainingMemberOrLambda);
Errors\ErrorFacts.cs (1)
641
or ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
Lowering\AsyncRewriter\RuntimeAsyncRewriter.cs (1)
120
_factory.Diagnostics.Add(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (16)
CodeGen\CodeGenAsyncLocalsTests.cs (1)
489
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await t").WithArguments("Test.F(dynamic)").WithLocation(9, 16)
CodeGen\CodeGenAsyncSpillTests.cs (2)
6451
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "__arglist(One(), await Two())").WithArguments("TestCase.Run()").WithLocation(14, 17),
7221
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, @"await mc.Goo<string>(null, await ((Func<Task<string>>)(async () => { await Task.Delay(1); return ""Test""; }))())").WithArguments("Test.Goo()").WithLocation(14, 19)
CodeGen\CodeGenAsyncTests.cs (11)
2633
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await d").WithArguments("Test.F1(dynamic)").WithLocation(9, 16)
2924
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await c.Method(1)").WithArguments("TestCase.Run()").WithLocation(44, 31),
2927
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await c.Method(2)").WithArguments("TestCase.Run()").WithLocation(50, 25),
2930
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await f()").WithArguments("TestCase.Run()").WithLocation(50, 44),
2933
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await c.Method(1)").WithArguments("TestCase.Run()").WithLocation(55, 35)
3102
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await (await dy * 5)").WithArguments("TestCase.Run()").WithLocation(39, 13),
3105
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await dy").WithArguments("TestCase.Run()").WithLocation(39, 20),
3108
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await (d + await dd)").WithArguments("TestCase.Run()").WithLocation(44, 13),
3111
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await dd").WithArguments("TestCase.Run()").WithLocation(44, 24)
3250
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await t2").WithArguments("TestCase.Run()").WithLocation(34, 13)
4892
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await myTask").WithArguments("MyTask.Run<T>()").WithLocation(19, 17)
CodeGen\CodeGenAwaitUsingTests.cs (2)
1465
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "x = new C()").WithArguments("C.Main()").WithLocation(6, 30)
1501
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "x = new C()").WithArguments("C.Main()").WithLocation(6, 30)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
2995
case ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
: