Browse Source

Merge branch 'master' of https://github.com/icsharpcode/ILSpy

pull/998/merge
Christoph Wille 8 years ago
parent
commit
f471c7f123
  1. 1
      ICSharpCode.Decompiler/CSharp/Transforms/ReplaceMethodCallsWithOperators.cs

1
ICSharpCode.Decompiler/CSharp/Transforms/ReplaceMethodCallsWithOperators.cs

@ -61,6 +61,7 @@ namespace ICSharpCode.Decompiler.CSharp.Transforms @@ -61,6 +61,7 @@ namespace ICSharpCode.Decompiler.CSharp.Transforms
for (int i = 1; i < arguments.Length; i++) {
expr = new BinaryOperatorExpression(expr, BinaryOperatorType.Add, arguments[i]);
}
expr.CopyAnnotationsFrom(invocationExpression);
invocationExpression.ReplaceWith(expr);
return;
}

Loading…
Cancel
Save