public void JittingFailsWithInvalidProgramException() { var completedTask = Task.FromResult(1); var helper = new RyuJitBugHelper(completedTask); helper.AwaitTaskCompletion().Wait(); }
static void Main(string[] args) { Console.Write("Awaiting task..."); var completedTask = Task.FromResult(1); var helper = new RyuJitBugHelper(completedTask); helper.AwaitTaskCompletion().Wait(); Console.WriteLine("done"); }