2 implementations of IsOnWhileStatementHeader
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\HeaderFacts\AbstractHeaderFacts.cs (1)
30
public abstract bool
IsOnWhileStatementHeader
(SyntaxNode root, int position, [NotNullWhen(true)] out SyntaxNode? whileStatement);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\AbstractRefactoringHelpersService.cs (1)
594
public bool
IsOnWhileStatementHeader
(SyntaxNode root, int position, [NotNullWhen(true)] out SyntaxNode? whileStatement)
2 references to IsOnWhileStatementHeader
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingExtensions.cs (1)
364
|| headerFacts.
IsOnWhileStatementHeader
(root, operation.BaseToken.SpanStart, out conditionStatement))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\AbstractRefactoringHelpersService.cs (1)
595
=> HeaderFacts.
IsOnWhileStatementHeader
(root, position, out whileStatement);