RCS0054: Fix formatting of a call chain
Properties
Property | Value |
---|---|
Default Severity | disabled by default |
Minimum language version | - |
Summary
This analyzer:
- fixes indentation of multi-line call chain
- formats each call on a separate line
Examples
Example #1
diagnostic.cs
return [|x.M1()
.M2().M3()|];
fix.cs
return [|x.M1()
.M2()
.M3()|];
Example #2
diagnostic.cs
return [|x.M1()
.M2()
.M3()|];
fix.cs
return [|x.M1()
.M2()
.M3()|];