8 references to Ancestors
Microsoft.AspNetCore.Razor.Language.UnitTests (1)
Intermediate\IntermediateNodeWalkerTest.cs (1)
113OnVisiting?.Invoke(node, Ancestors.ToArray());
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\IntegrationTests\IntermediateNodeVerifier.cs (1)
46AssertNodeEquals(node, Ancestors, expected, actual);
Microsoft.CodeAnalysis.Razor.Compiler (6)
Language\Components\ComponentChildContentDiagnosticPass.cs (1)
56var ancestors = Ancestors;
Language\Components\ComponentGenericTypePass.cs (2)
183foreach (var ancestor in Ancestors) 260var documentNode = (DocumentIntermediateNode)Ancestors[^1];
Language\Components\ComponentMarkupBlockPass.cs (1)
179foreach (var ancestor in Ancestors)
Language\Components\ComponentTemplateDiagnosticPass.cs (1)
53foreach (var ancestor in Ancestors)
Language\Intermediate\IntermediateNodeWalker.Stack.cs (1)
15/// that they are in the correct order to implement the <see cref="Ancestors"/>