-
Notifications
You must be signed in to change notification settings - Fork 19
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
WPF0060 is dependent on newlines and whitespace #329
Comments
Sorry about this. While this analyzer is not very useful it was a bit of pain to write, the syntax tree for a doc comment is huge. Workaround is to keep whitespace as the analyzer wants it or of course disable the analyzer as it is not very useful. You could set it to hidden to get the code gen but no warnings. |
The code fix for WPF0060 produces this code:
Reformatting (with R# or any other tool) to
triggers the warning again. Even altering the whitespace from the code fix, i.e.
does so.
Whitespace and Newlines shouldn't be triggering the analyzer as long as the string is correct. For comparison SA1624, which is the same for ctor documentation, allows this, as long as the text matches the one required by the analyzer.
The text was updated successfully, but these errors were encountered: