We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c46323 commit ace6b4aCopy full SHA for ace6b4a
1 file changed
src/BenchmarkDotNet/Toolchains/InProcess/NoEmit/InProcessNoEmitToolchain.cs
@@ -34,7 +34,7 @@ public async IAsyncEnumerable<ValidationError> ValidateAsync(BenchmarkCase bench
34
yield return error;
35
}
36
37
- if (benchmarkCase.Descriptor.WorkloadMethod.ReturnType.HasAttribute<AsyncCallerTypeAttribute>() == true)
+ if (benchmarkCase.Descriptor.WorkloadMethod.HasAttribute<AsyncCallerTypeAttribute>() == true)
38
{
39
yield return new ValidationError(false,
40
$"{nameof(InProcessNoEmitToolchain)} does not support overriding the async caller type via [AsyncCallerType]. It will be ignored.",
0 commit comments