We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Conflicts with CS8914 Error: A global using directive cannot be used in a namespace declaration.
The text was updated successfully, but these errors were encountered:
Could you provide an example so your situation is clear?
Sorry, something went wrong.
This causes SA1200:
global using static Foo.Bar; namespace Foo; using System; class Bar {}
This causes CS8914:
namespace Foo; global using static Foo.Bar; using System; class Bar {}
SA1200 is incorrectly applying to global using statements, which cannot be placed within namespace declarations.
Duplicate of #3404 (still open)
Duplicate of #3404
No branches or pull requests
Conflicts with CS8914 Error: A global using directive cannot be used in a namespace declaration.
The text was updated successfully, but these errors were encountered: