20 references to ERR_UnsupportedFeatureInRuntimeAsync
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Invocation.cs (1)
272
diagnostics.Add(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, node, ContainingMemberOrLambda);
Errors\ErrorFacts.cs (1)
640
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)
6446
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "__arglist(One(), await Two())").WithArguments("TestCase.Run()").WithLocation(14, 17),
7216
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)
2625
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await d").WithArguments("Test.F1(dynamic)").WithLocation(9, 16)
2916
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await c.Method(1)").WithArguments("TestCase.Run()").WithLocation(44, 31),
2919
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await c.Method(2)").WithArguments("TestCase.Run()").WithLocation(50, 25),
2922
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await f()").WithArguments("TestCase.Run()").WithLocation(50, 44),
2925
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await c.Method(1)").WithArguments("TestCase.Run()").WithLocation(55, 35)
3094
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await (await dy * 5)").WithArguments("TestCase.Run()").WithLocation(39, 13),
3097
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await dy").WithArguments("TestCase.Run()").WithLocation(39, 20),
3100
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await (d + await dd)").WithArguments("TestCase.Run()").WithLocation(44, 13),
3103
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await dd").WithArguments("TestCase.Run()").WithLocation(44, 24)
3242
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await t2").WithArguments("TestCase.Run()").WithLocation(34, 13)
4884
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "await myTask").WithArguments("MyTask.Run<T>()").WithLocation(19, 17)
CodeGen\CodeGenAwaitUsingTests.cs (2)
1451
Diagnostic(ErrorCode.
ERR_UnsupportedFeatureInRuntimeAsync
, "x = new C()").WithArguments("C.Main()").WithLocation(6, 30)
1487
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
: