blob: 6055feea81195a266fbbc4b85f80032280fd4512 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// CS1593: Delegate `System.Action<System.Threading.Tasks.Task>' does not take `0' arguments
// Line: 17
using System;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace CrashRepro.Core
{
public class X
{
async void Foo ()
{
var pushes = await Run ().ContinueWith (l =>
{
for (int i = 0; i < 1; ++i)
Run ().ContinueWith(() => { });
});
}
Task Run ()
{
return null;
}
}
}
|