Consider to throw a better exception in System.Media.SoundPlayer.LoadAsync
Open
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
https://github.com/dotnet/runtime/pull/57896#discussion_r703572743
It throws `NullReferenceException` if there's nothing to load. Consider `InvalidOperationException`?
Contributor guide
Assessment
This issue has not been assessed yet.