lepoco / wpfui

WPF UI provides the Fluent experience in your known and loved WPF framework. Intuitive design, themes, navigation and new immersive controls. All natively and effortlessly.
https://wpfui.lepo.co
MIT License
7.03k stars 666 forks source link

Fix warnings #1104

Closed drolevar closed 1 month ago

drolevar commented 1 month ago

The parameter file_header_template in .editorconfig introduces the check for the file header. However, if the header comment contains more lines than specified in file_header_template, the header is detected as incorrect. This triggers a very significant number of Roslyn analyzer warnings, which makes it hard to detect the real issues.

The solution is to split the header comment into two: the one specified in file_header_template and the rest.

Sometimes as a result the second part triggers the SA1512 warning, so it has to be converted to a multi-line comment.

Pull request type

Please check the type of change your PR introduces:

pomianowski commented 1 month ago

Hey @drolevar, thank you for your contribution