10 references to Parent
Microsoft.CodeAnalysis.Razor.Compiler (10)
Language\Components\ComponentMarkupBlockPass.cs (2)
188
Trees.Add(new IntermediateNodeReference(node,
Parent
!));
238
Trees.Add(new IntermediateNodeReference(node,
Parent
!));
Language\Components\ComponentTemplateDiagnosticPass.cs (1)
60
_candidates.Add(new IntermediateNodeReference(node,
Parent
.AssumeNotNull()));
Language\Extensions\PreallocatedTagHelperAttributeOptimizationPass.cs (4)
87
var nodeIndex =
Parent
!.Children.IndexOf(node);
88
Parent
.Children[nodeIndex] = addPreAllocatedAttribute;
136
var nodeIndex =
Parent
!.Children.IndexOf(node);
137
Parent
.Children[nodeIndex] = setPreallocatedProperty;
Mvc.Version2_X\InstrumentationPass.cs (3)
82
Items.Add(new InstrumentationItem(node,
Parent
!, isLiteral: true, source: node.Source.Value));
92
Items.Add(new InstrumentationItem(node,
Parent
!, isLiteral: false, source: node.Source.Value));
102
Items.Add(new InstrumentationItem(node,
Parent
!, isLiteral: false, source: node.Source.Value));