Base:
property
ParentTrivia
Microsoft.CodeAnalysis.SyntaxNode.ParentTrivia
Implemented interface member:
property
ParentTrivia
Microsoft.CodeAnalysis.IStructuredTriviaSyntax.ParentTrivia
10 references to ParentTrivia
Microsoft.CodeAnalysis.CSharp (2)
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
1419SyntaxTrivia containingTrivia = structuredTrivia.ParentTrivia;
Syntax\SyntaxNormalizer.cs (1)
1316var tr = ((StructuredTriviaSyntax)node).ParentTrivia;
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\BlockSyntaxExtensions.cs (1)
85var parentTrivia = conditionalDirective.ParentTrivia;
Microsoft.CodeAnalysis.CSharp.Features (2)
CodeLens\CSharpCodeLensDisplayInfoService.cs (1)
68node = structuredTriviaSyntax.ParentTrivia.Token.Parent;
CodeRefactorings\EnableNullable\EnableNullableCodeRefactoringProvider.cs (1)
180return root.ReplaceTrivia(leadingDirective.ParentTrivia, SyntaxFactory.ElasticMarker);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Syntax\StructuredTriviaTests.cs (2)
28var trivia2 = structuredTrivia.ParentTrivia; 89var foundTrivia = ((DocumentationCommentTriviaSyntax)foundDocComment).ParentTrivia;
Syntax\SyntaxNodeTests.cs (1)
1380Assert.Equal(default(SyntaxTrivia), def.ParentTrivia);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\BlockSyntaxExtensions.cs (1)
85var parentTrivia = conditionalDirective.ParentTrivia;
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
1433var index = leadingTriviaList.FindIndex(t => t == documentationComment.ParentTrivia);