10 references to Parent
Microsoft.CodeAnalysis.Razor.Compiler (10)
Language\Components\ComponentMarkupBlockPass.cs (2)
194
Trees.Add(new IntermediateNodeReference(node,
Parent
!));
244
Trees.Add(new IntermediateNodeReference(node,
Parent
!));
Language\Components\ComponentTemplateDiagnosticPass.cs (1)
60
_candidates.Add(new IntermediateNodeReference(node,
Parent
.AssumeNotNull()));
Language\Extensions\PreallocatedTagHelperAttributeOptimizationPass.cs (4)
93
var nodeIndex =
Parent
!.Children.IndexOf(node);
94
Parent
.Children[nodeIndex] = addPreAllocatedAttribute;
142
var nodeIndex =
Parent
!.Children.IndexOf(node);
143
Parent
.Children[nodeIndex] = setPreallocatedProperty;
Mvc.Version2_X\InstrumentationPass.cs (3)
87
Items.Add(new InstrumentationItem(node,
Parent
!, isLiteral: true, source: node.Source.Value));
97
Items.Add(new InstrumentationItem(node,
Parent
!, isLiteral: false, source: node.Source.Value));
107
Items.Add(new InstrumentationItem(node,
Parent
!, isLiteral: false, source: node.Source.Value));