2 implementations of IsOnForeachHeader
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\HeaderFacts\AbstractHeaderFacts.cs (1)
31
public abstract bool
IsOnForeachHeader
(SyntaxNode root, int position, [NotNullWhen(true)] out SyntaxNode? foreachStatement);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\AbstractRefactoringHelpersService.cs (1)
597
public bool
IsOnForeachHeader
(SyntaxNode root, int position, [NotNullWhen(true)] out SyntaxNode? foreachStatement)
2 references to IsOnForeachHeader
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\AbstractRefactoringHelpersService.cs (2)
507
if (headerFacts.
IsOnForeachHeader
(root, location, out var foreachStatement))
598
=> HeaderFacts.
IsOnForeachHeader
(root, position, out foreachStatement);