3 implementations of IsOnTypeHeader
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\HeaderFacts\AbstractHeaderFacts.cs (1)
19
public abstract bool
IsOnTypeHeader
(SyntaxNode root, int position, bool fullHeader, [NotNullWhen(true)] out SyntaxNode? typeDeclaration);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\RefactoringHelpers\AbstractRefactoringHelpers.cs (1)
586
public bool
IsOnTypeHeader
(SyntaxNode root, int position, bool fullHeader, [NotNullWhen(true)] out SyntaxNode? typeDeclaration)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\AbstractRefactoringHelpersService.cs (1)
27
public bool
IsOnTypeHeader
(SyntaxNode root, int position, bool fullHeader, [NotNullWhen(true)] out SyntaxNode? typeDeclaration)
5 references to IsOnTypeHeader
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\HeaderFacts\IHeaderFactsExtensions.cs (1)
15
=> headerFacts.
IsOnTypeHeader
(root, position, fullHeader: false, out typeDeclaration);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\RefactoringHelpers\AbstractRefactoringHelpers.cs (1)
587
=> HeaderFacts.
IsOnTypeHeader
(root, position, fullHeader, out typeDeclaration);
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorCodeFixProvider.cs (1)
30
if (!headerFacts.
IsOnTypeHeader
(root, diagnostic.Location.SourceSpan.Start, fullHeader: true, out var typeDecl))
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorsService.State.cs (1)
69
if (headerFacts.
IsOnTypeHeader
(semanticDocument.Root, textSpan.Start, fullHeader: true, out _))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\AbstractRefactoringHelpersService.cs (1)
28
=> this.RefactoringHelpers.
IsOnTypeHeader
(root, position, fullHeader, out typeDeclaration);