-
Notifications
You must be signed in to change notification settings - Fork 511
SA1135 throws exception for type keywords #3882
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
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. |
…rectiveSyntax without a Name DotNetAnalyzers#3882
…rectiveSyntax without a Name DotNetAnalyzers#3882
…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): |
You can also <PropertyGroup>
<NoWarn>$(NoWarn);SA1135</NoWarn>
</PropertyGroup> ( |
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: