Added exception extensions for ValueTask without return type

Closed
MA
2y ago
+1005-397

The current implementation of the ThrowsAsync and ThrowsAsyncForAnyArgs extension methods work for work for Task (void), Task<T> and ValueTask<T> but not for ValueTask (void).

This change implements the extension methods and includes all related tests.