2 writes to LineBreaks
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.Analyzer.cs (2)
77result.LineBreaks = 1; 144result.LineBreaks++;
11 references to LineBreaks
Microsoft.CodeAnalysis.CSharp.Workspaces (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.cs (11)
117if (result.LineBreaks == 0 && result.Tab > 0) 121return new ModifiedWhitespace(this.Options, result.LineBreaks, indentation: spaces, elastic: result.TreatAsElastic); 141Debug.Assert(result.LineBreaks >= 0); 146if (result.HasUnknownWhitespace && result.LineBreaks == 0 && indentation == 0) 152return (canUseTriviaAsItIs: false, result.LineBreaks, indentation); 159return (canUseTriviaAsItIs: false, result.LineBreaks, indentation); 162return (canUseTriviaAsItIs: true, result.LineBreaks, indentation); 170return (canUseTriviaAsItIs: false, result.LineBreaks, indentation); 175return (canUseTriviaAsItIs: false, result.LineBreaks, indentation); 181return (canUseTriviaAsItIs: true, result.LineBreaks, indentation); 186if (result.HasTrailingSpace || result.HasUnknownWhitespace || result.LineBreaks > 0 || result.Tab > 0)