-
Notifications
You must be signed in to change notification settings - Fork 507
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
SA1135 throws exception for type keywords #3882
Comments
This does not occur when outside a namespace, but this violates |
What version are you using? |
Sorry! I asked because I couldn't reproduce it, but I see it now using the latest beta. |
I will have a look. |
bjornhellander
added a commit
to bjornhellander/StyleCopAnalyzers
that referenced
this issue
Aug 5, 2024
…rectiveSyntax without a Name DotNetAnalyzers#3882
bjornhellander
added a commit
to bjornhellander/StyleCopAnalyzers
that referenced
this issue
Aug 5, 2024
…rectiveSyntax without a Name DotNetAnalyzers#3882
bjornhellander
added a commit
to bjornhellander/StyleCopAnalyzers
that referenced
this issue
Aug 6, 2024
…rectiveSyntax without a Name (c# 12's "alias any type") DotNetAnalyzers#3882
We've also encountered this bug, using StyleCop.Analyzers.Unstable 1.2.0.556 (can't use Beta for reasons)
Workaround (but names are lost): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When adding a type alias using a keyword, the analyzer throws
AD0001
, when inside a namespaceand also when using value tuple values
The text was updated successfully, but these errors were encountered: