2 writes to TreatAsElastic
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.Analyzer.cs (2)
149
result.
TreatAsElastic
|= trivia.IsElastic();
188
result.
TreatAsElastic
|= trivia.IsElastic();
3 references to TreatAsElastic
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.cs (3)
113
return GetSpaceTriviaData(space, result.
TreatAsElastic
);
121
return new ModifiedWhitespace(this.Options, result.LineBreaks, indentation: spaces, elastic: result.
TreatAsElastic
);
127
return GetWhitespaceTriviaData(lineCountAndIndentation.lineBreaks, lineCountAndIndentation.indentation, lineCountAndIndentation.canUseTriviaAsItIs, result.
TreatAsElastic
);