18 references to GetParent
System.Private.Xml.Linq (18)
System\Xml\XPath\XNodeNavigator.cs (18)
366
if ((TextMask & mask) != 0 && c.
GetParent
() == null && c is XDocument)
496
XContainer? container = currentNode.
GetParent
();
541
XContainer? container = currentNode.
GetParent
();
545
if ((TextMask & mask) != 0 && container.
GetParent
() == null && container is XDocument)
573
XElement? e = (XElement?)currentAttribute.
GetParent
();
597
if (a.
GetParent
() != _parent)
641
XNode? parentNode = _source.
GetParent
();
655
XContainer? container = currentNode.
GetParent
();
727
if (n.
GetParent
() != null)
750
if (c.
GetParent
() != null || c is XElement)
759
return n1._source == n2._source && n1._source.
GetParent
() == n2._source.
GetParent
();
801
XElement? e = (XElement?)a.
GetParent
();
852
while (ce != null && ce != a.
GetParent
())
888
if (t != null && t.
GetParent
() != null)
895
} while (t != t.
GetParent
()!.LastNode);
931
if (text.
GetParent
() is XDocument) throw new ArgumentException(SR.Format(SR.Argument_CreateNavigator, XmlNodeType.Whitespace));
1017
XContainer? parentNode = n.
GetParent
();