I am implementing Angular\'s fakeAsync in dotnet. I use Lib.Harmony to rewrite async-related methods in runtime, e.g. Task.Delay():
Task.Delay()