Skip to content

ALL_CAPS private const field bypasses the rules #53

Answered by RehanSaeed
TheToughGuy asked this question in Q&A
Discussion options

You must be logged in to vote

Just tested this and I can see that VS 16.9 doesn't show a warning. This used to work but not sure when it stopped working. I tried a blank .editorconfig file with nothing but these rules in it and I got nothing.

Just ran through the docs on these custom rules again and it seems like we are doing the right thing. We should probably check for an issue or raise one in the Roslyn GitHub repo.

https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/naming-rules

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TheToughGuy
Comment options

Answer selected by TheToughGuy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants