csharpier icon indicating copy to clipboard operation
csharpier copied to clipboard

Comment on conditional causes line break

Open belav opened this issue 3 years ago • 0 comments

class ClassName
{
    void MethodName()
    {
        CallMethod(
            someValue________________________________,
            // causes this to break
            value_______________________ != null
              ? 1
              : 2
        );

        CallMethod(
            someValue________________________________,
            value_______________________ != null ? 1 : 2
        );
    }
}

belav avatar May 02 '22 15:05 belav