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