30 writes to _source
System.Private.Xml (30)
System\Xml\Dom\DocumentXPathNavigator.cs (30)
31
_source
= other._source;
303
_source
= attribute;
328
_source
= attribute;
355
_source
= attribute;
444
_source
= attribute;
454
_source
= _document.NamespaceXml;
481
_source
= attributes[index];
500
_source
= attribute;
508
_source
= _document.NamespaceXml;
513
_source
= attributes[index];
590
_source
= attributes[index];
606
_source
= attribute;
620
_source
= _document.NamespaceXml;
628
_source
= attribute;
733
_source
= sibling;
772
_source
= sibling;
797
_source
= sibling;
832
_source
= child;
841
_source
= parent;
849
_source
= parent;
874
_source
= parent;
884
_source
= that._source;
897
_source
= element;
920
_source
= child;
949
_source
= child;
1030
_source
= following;
1116
_source
= following;
1133
_source
= sibling;
1168
_source
= sibling;
1835
_source
= node;
104 references to _source
System.Private.Xml (104)
System\Xml\Dom\DocumentXPathNavigator.cs (104)
31
_source = other.
_source
;
45
XmlNode node =
_source
;
63
node =
_source
;
98
return (XPathNodeType)
_source
.XPNodeType;
106
return
_source
.XPLocalName;
114
if (
_source
is XmlAttribute attribute
119
return
_source
.NamespaceURI;
127
switch (
_source
.NodeType)
131
return
_source
.Name;
133
if (((XmlAttribute)
_source
).IsNamespace)
135
string localName =
_source
.LocalName;
142
return
_source
.Name; // attribute
153
if (
_source
is XmlAttribute attribute
158
return
_source
.Prefix;
166
switch (
_source
.NodeType)
170
return
_source
.InnerText;
179
Debug.Assert(
_source
.Value != null);
180
return
_source
.Value;
204
string? value =
_source
.Value;
205
XmlNode? nextSibling = NextSibling(
_source
);
229
return
_source
.BaseURI;
237
if (
_source
is XmlElement element)
249
return
_source
.XmlLang;
259
return
_source
;
267
if (
_source
is XmlElement element
286
return
_source
.GetXPAttribute(localName, namespaceURI);
291
if (
_source
is XmlElement element
319
if (
_source
is XmlElement element
339
if (!(
_source
is XmlAttribute attribute)
365
XmlNode? node =
_source
;
423
XmlElement? element =
_source
as XmlElement;
443
_namespaceParent = (XmlElement)
_source
;
453
_namespaceParent = (XmlElement)
_source
;
463
if (!(
_source
is XmlElement element))
566
if (!(
_source
is XmlAttribute attribute)
707
XmlNode? sibling = NextSibling(
_source
);
714
if (
_source
.IsText)
739
XmlNode? sibling = PreviousSibling(
_source
);
746
if (
_source
.IsText)
778
if (
_source
.NodeType == XmlNodeType.Attribute)
782
XmlNode? parent = ParentNode(
_source
);
804
switch (
_source
.NodeType)
807
child = FirstChild(
_source
);
815
child = FirstChild(
_source
);
820
while (!IsValidChild(
_source
, child))
838
XmlNode? parent = ParentNode(
_source
);
844
if (
_source
is XmlAttribute attribute)
861
XmlNode? parent =
_source
.ParentNode;
864
if (!(
_source
is XmlAttribute attribute))
884
_source = that.
_source
;
906
if (
_source
.NodeType == XmlNodeType.Attribute)
911
XmlNode? child = FirstChild(
_source
);
932
if (
_source
.NodeType == XmlNodeType.Attribute)
937
XmlNode? child = FirstChild(
_source
);
968
switch (that.
_source
.NodeType)
978
pastFollowing = that.
_source
;
981
XmlNode? following =
_source
;
1043
switch (that.
_source
.NodeType)
1053
pastFollowing = that.
_source
;
1061
XmlNode? following =
_source
;
1122
XmlNode? sibling = NextSibling(
_source
);
1144
XmlNode? sibling = NextSibling(
_source
);
1150
&&
_source
.IsText)
1182
switch (
_source
.NodeType)
1185
child = FirstChild(
_source
);
1193
child = FirstChild(
_source
);
1198
while (!IsValidChild(
_source
, child))
1220
return
_source
== that.
_source
1230
return IsDescendant(
_source
, that.
_source
);
1239
return
_source
.SchemaInfo;
1247
if (
_source
.NodeType == XmlNodeType.Document)
1249
ownerDocument = (XmlDocument)
_source
;
1253
ownerDocument =
_source
.OwnerDocument;
1274
return validator.Validate(
_source
);
1368
if (
_source
== that.
_source
1380
XmlNode? node1 =
_source
;
1381
XmlNode? node2 = that.
_source
;
1448
XmlNode IHasXmlNode.GetNode() { return
_source
; }
1453
if (nsAtom == null ||
_source
.NodeType == XmlNodeType.Attribute)
1478
XmlNodeType curNT =
_source
.NodeType;
1502
switch (
_source
.NodeType)
1512
DocumentXmlWriter writer = new DocumentXmlWriter(DocumentXmlWriterType.PrependChild,
_source
, _document);
1513
writer.NamespaceManager = GetNamespaceManager(
_source
, _document);
1519
switch (
_source
.NodeType)
1529
DocumentXmlWriter writer = new DocumentXmlWriter(DocumentXmlWriterType.AppendChild,
_source
, _document);
1530
writer.NamespaceManager = GetNamespaceManager(
_source
, _document);
1536
XmlNode node =
_source
;
1561
switch (
_source
.NodeType)
1578
DocumentXmlWriter writer = new DocumentXmlWriter(DocumentXmlWriterType.InsertSiblingBefore,
_source
, _document);
1579
writer.NamespaceManager = GetNamespaceManager(
_source
.ParentNode, _document);
1585
if (
_source
.NodeType != XmlNodeType.Element)
1590
DocumentXmlWriter writer = new DocumentXmlWriter(DocumentXmlWriterType.AppendAttribute,
_source
, _document);
1591
writer.NamespaceManager = GetNamespaceManager(
_source
, _document);
1606
XmlNode node =
_source
;
1607
XmlNode end = that.
_source
;
1657
XmlNode node =
_source
;
1658
XmlNode end = that.
_source
;
1718
XmlNode node =
_source
;
1742
node =
_source
;
1830
[MemberNotNull(nameof(
_source
))]
1889
XmlNode? text = PreviousText(
_source
);