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

Since FileSystemWatcher is not supported on wasm, throw PNSE and skip tests #38368

Merged
merged 2 commits into from
Jun 25, 2020

Conversation

steveisok
Copy link
Member

No description provided.

@@ -0,0 +1,241 @@
// Licensed to the .NET Foundation under one or more agreements.
Copy link
Member

@stephentoub stephentoub Jun 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of manually implementing the PNSE-stubbed-out version, could we get tooling to do it for us? e.g.
https://github.com/dotnet/runtime/search?q=GeneratePlatformNotSupportedAssemblyMessage&unscoped_q=GeneratePlatformNotSupportedAssemblyMessage

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Learn something new every day ;-).

Copy link
Member

@lewing lewing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know we haven't been very consistent with naming but should this be FileSystemWatcher.Browser.cs or FileSystemWatcher.NotSuppported.cs instead?

@marek-safar marek-safar merged commit 3b95bca into dotnet:master Jun 25, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants