2 writes to LineBreaks
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
23this.LineBreaks = Math.Max(0, lineBreaks);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (1)
37this.LineBreaks = lineBreaks;
11 references to LineBreaks
Microsoft.CodeAnalysis.CodeStyle (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
34for (var i = 0; i < LineBreaks; i++)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.ModifiedWhitespace.cs (6)
40if (this.LineBreaks == _original.LineBreaks && _original.Spaces == space) 55if (_original.LineBreaks == line && _original.Spaces == indentation) 71if (this.LineBreaks == _original.LineBreaks && _original.Spaces == indentation) 86formattingResultApplier(tokenPairIndex, context.TokenStream, new FormattedWhitespace(this.Options, this.LineBreaks, this.Spaces));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (3)
49if (this.LineBreaks == 0 && this.Spaces == space) 59if (this.LineBreaks == line && this.Spaces == indentation) 75return new ModifiedWhitespace(this.Options, this, this.LineBreaks, indentation, elastic: false);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TriviaData.cs (1)
31public bool SecondTokenIsFirstTokenOnLine { get { return this.LineBreaks > 0; } }