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