Home
Options

Lprun.exe exit code is always zero for async query

It happens both for LINQPad 5 and 7.
Repro query:

async Task<int> Main()
{
    await Task.Yield();
    return 144;
}

When executed in Lprun will result in exit code equal 0. Only throwing errors changes the exit code.

Comments

Sign In or Register to comment.