Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider to throw a better exception in System.Media.SoundPlayer.LoadAsync #5259

Open
huoyaoyuan opened this issue Sep 7, 2021 · 1 comment
Milestone

Comments

@huoyaoyuan
Copy link
Member

dotnet/runtime#57896 (comment)

It throws NullReferenceException if there's nothing to load. Consider InvalidOperationException?

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@jeffschwMSFT jeffschwMSFT transferred this issue from dotnet/runtime Sep 7, 2021
@karelz karelz added this to the Future milestone Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants