BenchmarkDotNet icon indicating copy to clipboard operation
BenchmarkDotNet copied to clipboard

Please, add async support for iteration setup and cleanup

Open quixoticaxis opened this issue 2 years ago • 1 comments

It does not seem that [IterationSetup] and [IterationCleanup] may mark async methods for now. The code is failing with …the wrong return type error. Is there any reason why global counterparts are allowed to be async, while iteration bound methods are not?

quixoticaxis avatar Oct 05 '23 17:10 quixoticaxis

Support for that will be added if/when #2111 is merged.

timcassell avatar Oct 05 '23 18:10 timcassell