1.1.2
What's Changed
Inconsistencies with null-coalescing wrapping on method chains #1573
On longer method chains, depending on the exact chain a null coalescing expression wouldn't always be preceded by a new line.
// input & expected output
var x =
someValue
.Property.CallLongMethod_____________________________________()
.CallMethod__________()
?? throw new Exception();
var x =
someValue
.Property.CallLongMethod_____________________________________()
.CallLongMethod___________________________________________________()
?? throw new Exception();
// 1.1.1
var x =
someValue
.Property.CallLongMethod_____________________________________()
.CallMethod__________() ?? throw new Exception();
var x =
someValue
.Property.CallLongMethod_____________________________________()
.CallLongMethod___________________________________________________()
?? throw new Exception();Full Changelog: 1.1.1...1.1.2