I'm trying to create some repro code, which involves a async deadlock like described in here, the only difference being that I'm using a .NET 5 console app (not a ASP.NET app or WinForms app).
What is the minimal reproducible code for a async deadlock on a console app?