|
|
|
@ -1822,7 +1822,7 @@ namespace ICSharpCode.NRefactory.CSharp |
|
|
|
if (methodCallArgumentWrapping == Wrapping.DoNotWrap) { |
|
|
|
if (methodCallArgumentWrapping == Wrapping.DoNotWrap) { |
|
|
|
ForceSpacesBeforeRemoveNewLines(rParToken, spaceWithinMethodCallParentheses); |
|
|
|
ForceSpacesBeforeRemoveNewLines(rParToken, spaceWithinMethodCallParentheses); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
bool sameLine = rParToken.GetPrevNode().StartLocation.Line == rParToken.StartLocation.Line; |
|
|
|
bool sameLine = rParToken.GetPrevNode().EndLocation.Line == rParToken.StartLocation.Line; |
|
|
|
if (sameLine) { |
|
|
|
if (sameLine) { |
|
|
|
ForceSpacesBeforeRemoveNewLines(rParToken, spaceWithinMethodCallParentheses); |
|
|
|
ForceSpacesBeforeRemoveNewLines(rParToken, spaceWithinMethodCallParentheses); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
|