2 writes to TreatAsElastic
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
src\Workspaces\VisualBasic\Portable\Formatting\Engine\Trivia\TriviaDataFactory.Analyzer.vb (2)
82
result.
TreatAsElastic
= result.TreatAsElastic Or trivia.IsElastic()
118
result.
TreatAsElastic
= result.TreatAsElastic Or trivia.IsElastic()
6 references to TreatAsElastic
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (6)
src\Workspaces\VisualBasic\Portable\Formatting\Engine\Trivia\TriviaDataFactory.Analyzer.vb (2)
82
result.TreatAsElastic = result.
TreatAsElastic
Or trivia.IsElastic()
118
result.TreatAsElastic = result.
TreatAsElastic
Or trivia.IsElastic()
src\Workspaces\VisualBasic\Portable\Formatting\Engine\Trivia\TriviaDataFactory.vb (4)
90
result.
TreatAsElastic
OrElse
156
Return GetSpaceTriviaData(space, result.
TreatAsElastic
)
163
Return New ModifiedWhitespace(Me.Options, result.LineBreaks, indentation:=spaces, elastic:=result.
TreatAsElastic
)
170
Return GetWhitespaceTriviaData(lineCountAndIndentation.Item2, lineCountAndIndentation.Item3, useTriviaAsItIs, result.
TreatAsElastic
)