2 overrides of TreatAsElastic
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
47
public override bool
TreatAsElastic
=> false;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (1)
41
public override bool
TreatAsElastic
=> _elastic;
3 references to TreatAsElastic
Microsoft.CodeAnalysis.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (2)
457
if (!context.IsWrappingSuppressed(spanBetweenTokens, triviaInfo.
TreatAsElastic
))
472
if (!context.IsSpacingSuppressed(spanBetweenTokens, triviaInfo.
TreatAsElastic
))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (1)
338
if (context.IsSpacingSuppressed(spanBetweenTokens, triviaInfo.
TreatAsElastic
))