Hacker News new | ask | show | jobs
by MarkSweep 564 days ago
The referencesource repository is only relevant if you are using the legacy .NET Framework. Modern .NET has a special case for passing a List<Task> and avoids the allocation:

https://github.com/dotnet/runtime/blob/1f01bee2a41e0df97089f...