2 implementations of ParentTrivia
Microsoft.CodeAnalysis.CSharp (1)
Syntax\StructuredTriviaSyntax.cs (1)
35public override SyntaxTrivia ParentTrivia => _parent;
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\StructuredTriviaSyntax.vb (1)
32Public Overrides ReadOnly Property ParentTrivia As SyntaxTrivia Implements IStructuredTriviaSyntax.ParentTrivia
13 references to ParentTrivia
Microsoft.AspNetCore.App.Analyzers (1)
RouteEmbeddedLanguage\Infrastructure\SyntaxNodeExtensions.cs (1)
30parent = structuredTrivia.ParentTrivia.Token.Parent;
Microsoft.CodeAnalysis (6)
Syntax\SyntaxNavigator.cs (2)
474return GetNextToken(((IStructuredTriviaSyntax)node).ParentTrivia, predicate, stepInto); 524return GetPreviousToken(((IStructuredTriviaSyntax)node).ParentTrivia, predicate, stepInto);
Syntax\SyntaxNode.cs (2)
547node = ((IStructuredTriviaSyntax)node).ParentTrivia.Token.Parent; 825parent = structuredTrivia.ParentTrivia.Token.Parent;
Syntax\SyntaxNodeExtensions_Tracking.cs (2)
160node = ((IStructuredTriviaSyntax)node).ParentTrivia.Token.Parent!; 185node = ((IStructuredTriviaSyntax)node).ParentTrivia.Token.Parent!;
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
799parent = structuredTrivia.ParentTrivia.Token.Parent;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\BottomUpBaseIndentationFinder.cs (1)
238current = ((IStructuredTriviaSyntax)current).ParentTrivia.Token.Parent;
Microsoft.CodeAnalysis.Features (1)
CodeLens\CodeLensReferencesService.cs (1)
182var parentTrivia = structuredTriviaSyntax.ParentTrivia;
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\StructuredTriviaSyntax.vb (1)
32Public Overrides ReadOnly Property ParentTrivia As SyntaxTrivia Implements IStructuredTriviaSyntax.ParentTrivia
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
799parent = structuredTrivia.ParentTrivia.Token.Parent;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\BottomUpBaseIndentationFinder.cs (1)
238current = ((IStructuredTriviaSyntax)current).ParentTrivia.Token.Parent;