Skip to content

Commit ace6b4a

Browse files
committed
Fix InProcessNoEmitToolchain validation.
1 parent 3c46323 commit ace6b4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/BenchmarkDotNet/Toolchains/InProcess/NoEmit/InProcessNoEmitToolchain.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public async IAsyncEnumerable<ValidationError> ValidateAsync(BenchmarkCase bench
3434
yield return error;
3535
}
3636

37-
if (benchmarkCase.Descriptor.WorkloadMethod.ReturnType.HasAttribute<AsyncCallerTypeAttribute>() == true)
37+
if (benchmarkCase.Descriptor.WorkloadMethod.HasAttribute<AsyncCallerTypeAttribute>() == true)
3838
{
3939
yield return new ValidationError(false,
4040
$"{nameof(InProcessNoEmitToolchain)} does not support overriding the async caller type via [AsyncCallerType]. It will be ignored.",

0 commit comments

Comments
 (0)