1683: Braces on lines with comments
If I add braces to a line with a comment, the closing brace stays at the end
of comment.
if(something)
DoSomething(); // this is supposed to do something
Add an opening brace at the beginning of the DoSomething(); line and
ReSharper expands it as follows:
if(something)
{
DoSomething(); // this is supposed to do something}
Notice the closing brace is at the end of the comment text and the remainder
of the code is flagged with errors due to a missing brace.
It's a somewhat minor issue but it isn't limited to just this build.
Please sign in to leave a comment.