2 implementations of IsOnTypeHeader
Microsoft.CodeAnalysis.Features (1)
CodeRefactorings\AbstractRefactoringHelpersService.cs (1)
561
public bool
IsOnTypeHeader
(SyntaxNode root, int position, bool fullHeader, [NotNullWhen(true)] out SyntaxNode? typeDeclaration)
Microsoft.CodeAnalysis.Workspaces (1)
AbstractHeaderFacts.cs (1)
23
public abstract bool
IsOnTypeHeader
(SyntaxNode root, int position, bool fullHeader, [NotNullWhen(true)] out SyntaxNode? typeDeclaration);
5 references to IsOnTypeHeader
Microsoft.CodeAnalysis.Features (4)
CodeRefactorings\AbstractRefactoringHelpersService.cs (1)
562
=> HeaderFacts.
IsOnTypeHeader
(root, position, fullHeader, out typeDeclaration);
GenerateComparisonOperators\GenerateComparisonOperatorsCodeRefactoringProvider.cs (1)
53
if (!helpers.
IsOnTypeHeader
(root, textSpan.Start, fullHeader: true, out var typeDeclaration) &&
GenerateDefaultConstructors\AbstractGenerateDefaultConstructorCodeFixProvider.cs (1)
31
if (!headerFacts.
IsOnTypeHeader
(root, diagnostic.Location.SourceSpan.Start, fullHeader: true, out var typeDecl))
GenerateDefaultConstructors\AbstractGenerateDefaultConstructorsService.State.cs (1)
69
if (headerFacts.
IsOnTypeHeader
(semanticDocument.Root, textSpan.Start, fullHeader: true, out _))
Microsoft.CodeAnalysis.Workspaces (1)
IHeaderFactsExtensions.cs (1)
15
=> headerFacts.
IsOnTypeHeader
(root, position, fullHeader: false, out typeDeclaration);