Hi
In Visual Studio settings, when using code style "PER", the option "Blank lines before class" has the value "1". It cannot be deleted. When I delete it, it is deleted. If I open Visual Studio again, the value "1" is there again.
If there is only a comment for "class", it is fine. If there is an attribute before the "class" command, a blank line is inserted there.
If you found what could be causing this, great, thanks.