2 implementations of IsOnLocalFunctionHeader
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\HeaderFacts\AbstractHeaderFacts.cs (1)
27
public abstract bool
IsOnLocalFunctionHeader
(SyntaxNode root, int position, [NotNullWhen(true)] out SyntaxNode? localFunction);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\AbstractRefactoringHelpersService.cs (1)
585
public bool
IsOnLocalFunctionHeader
(SyntaxNode root, int position, [NotNullWhen(true)] out SyntaxNode? localFunction)
2 references to IsOnLocalFunctionHeader
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\AbstractRefactoringHelpersService.cs (2)
495
if (headerFacts.
IsOnLocalFunctionHeader
(root, location, out var localFunction))
586
=> HeaderFacts.
IsOnLocalFunctionHeader
(root, position, out localFunction);