|
|
|
|
@ -858,11 +858,14 @@ namespace ICSharpCode.NRefactory.CSharp
@@ -858,11 +858,14 @@ namespace ICSharpCode.NRefactory.CSharp
|
|
|
|
|
} |
|
|
|
|
curIndent.ExtraSpaces -= extraSpaces; |
|
|
|
|
} |
|
|
|
|
if (methodClosingParenthesesOnNewLine) |
|
|
|
|
if (methodClosingParenthesesOnNewLine) { |
|
|
|
|
FixStatementIndentation(rParToken.StartLocation); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
foreach (var arg in parameters) { |
|
|
|
|
if (methodCallArgumentWrapping == Wrapping.DoNotWrap) { |
|
|
|
|
ForceSpacesBeforeRemoveNewLines(arg, spaceAfterMethodCallParameterComma && arg.PrevSibling.Role == Roles.Comma); |
|
|
|
|
} |
|
|
|
|
arg.AcceptVisitor(this); |
|
|
|
|
} |
|
|
|
|
ForceSpacesBeforeRemoveNewLines(rParToken, spaceWithinMethodCallParentheses); |
|
|
|
|
@ -1754,11 +1757,14 @@ namespace ICSharpCode.NRefactory.CSharp
@@ -1754,11 +1757,14 @@ namespace ICSharpCode.NRefactory.CSharp
|
|
|
|
|
} |
|
|
|
|
curIndent.ExtraSpaces -= extraSpaces; |
|
|
|
|
} |
|
|
|
|
if (methodClosingParenthesesOnNewLine) |
|
|
|
|
if (methodClosingParenthesesOnNewLine) { |
|
|
|
|
FixStatementIndentation(rParToken.StartLocation); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
foreach (var arg in arguments) { |
|
|
|
|
if (methodCallArgumentWrapping == Wrapping.DoNotWrap) { |
|
|
|
|
ForceSpacesBeforeRemoveNewLines(arg, spaceAfterMethodCallParameterComma && arg.PrevSibling.Role == Roles.Comma); |
|
|
|
|
} |
|
|
|
|
arg.AcceptVisitor(this); |
|
|
|
|
} |
|
|
|
|
ForceSpacesBeforeRemoveNewLines(rParToken, spaceWithinMethodCallParentheses); |
|
|
|
|
|