2 implementations of IsOnMethodHeader
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\HeaderFacts\AbstractHeaderFacts.cs (1)
26
public abstract bool
IsOnMethodHeader
(SyntaxNode root, int position, [NotNullWhen(true)] out SyntaxNode? method);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\AbstractRefactoringHelpersService.cs (1)
582
public bool
IsOnMethodHeader
(SyntaxNode root, int position, [NotNullWhen(true)] out SyntaxNode? method)
2 references to IsOnMethodHeader
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\AbstractRefactoringHelpersService.cs (2)
491
if (headerFacts.
IsOnMethodHeader
(root, location, out var method))
583
=> HeaderFacts.
IsOnMethodHeader
(root, position, out method);