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