3 references to HasAnyWhitespaceElasticTrivia
Microsoft.CodeAnalysis.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.AbstractComplexTrivia.cs (1)
27
_treatAsElastic = CommonFormattingHelpers.
HasAnyWhitespaceElasticTrivia
(token1, token2);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingExtensions.cs (2)
56
return CommonFormattingHelpers.
HasAnyWhitespaceElasticTrivia
(startToken.Token, nextToken.Token) ||
57
CommonFormattingHelpers.
HasAnyWhitespaceElasticTrivia
(previousToken.Token, endToken.Token);