2 writes to nodes
System.ServiceModel (2)
System\ServiceModel\Dispatcher\SeekableMessageNavigator.cs (2)
1161this.nodes = new Node[minSize + StartSize]; 1878this.nodes = tmp;
199 references to nodes
System.ServiceModel (199)
System\ServiceModel\Dispatcher\SeekableMessageNavigator.cs (199)
148string s = this.dom.nodes[this.location].baseUri; 182int n = this.dom.nodes[p.parent].firstNamespace; 193this.nsStack.Push(this.dom.nodes[n].name); 194n = this.dom.nodes[n].nextSibling; 209return this.dom.nodes[this.location].firstAttribute != NullIndex; 219return this.dom.nodes[this.location].firstChild != NullIndex; 231return this.dom.nodes[this.location].empty; 240string s = this.dom.nodes[this.location].name; 268string s = this.dom.nodes[this.location].ns; 292return this.dom.nodes[this.location].type; 302string s = this.dom.nodes[this.location].prefix; 322string s = this.dom.nodes[this.location].xmlLang; 453a = this.dom.nodes[this.location].firstAttribute; 456if (String.CompareOrdinal(this.dom.nodes[a].name, name) == 0 && String.CompareOrdinal(this.dom.nodes[a].ns, ns) == 0) 458ret = this.dom.nodes[a].val; 463a = this.dom.nodes[a].nextSibling; 472string s = this.dom.nodes[this.dom.DecodePosition(pos).elem].name; 485string s = this.dom.nodes[this.dom.DecodePosition(pos).elem].ns; 506ns = this.dom.nodes[this.location].firstNamespace; 513if (String.CompareOrdinal(this.dom.nodes[ns].name, name) == 0) 515ret = this.dom.nodes[ns].val; 519ns = this.dom.nodes[ns].nextSibling; 528return this.dom.nodes[this.dom.DecodePosition(pos).elem].type; 569XPathNodeType type = this.dom.nodes[nav.location].type; 576type = this.dom.nodes[this.location].type; 587n = this.dom.nodes[n].parent; 700if (this.dom.nodes[this.location].type != XPathNodeType.Element) 707int n = this.dom.nodes[this.location].firstAttribute; 710if (String.CompareOrdinal(this.dom.nodes[n].name, localName) == 0 && 711String.CompareOrdinal(this.dom.nodes[n].ns, namespaceURI) == 0) 721n = this.dom.nodes[n].nextSibling; 733XPathNodeType t = this.dom.nodes[this.location].type; 738int p = this.dom.nodes[this.location].parent; 746this.location = this.dom.nodes[p].firstChild; 759if (this.dom.nodes[this.location].type != XPathNodeType.Element) 766int n = this.dom.nodes[this.location].firstAttribute; 784if (this.location == RootIndex || this.dom.nodes[this.location].type == XPathNodeType.Element) 788int n = this.dom.nodes[this.location].firstChild; 805if (this.dom.nodes[this.location].type != XPathNodeType.Element) 822int n = FindNamespace(this.location, this.dom.nodes[this.location].firstNamespace, scope); 852if (this.dom.nodes[this.location].type != XPathNodeType.Element) 871int n = this.dom.nodes[this.location].firstNamespace; 878nodeName = this.dom.nodes[n].name; 883nodeVal = this.dom.nodes[n].val; 894n = this.dom.nodes[n].nextSibling; 911XPathNodeType type = this.dom.nodes[this.location].type; 918int n = this.dom.nodes[this.location].nextSibling; 933if (this.dom.nodes[this.location].type != XPathNodeType.Attribute) 939int n = this.dom.nodes[this.location].nextSibling; 954if (this.dom.nodes[this.location].type != XPathNodeType.Namespace) 960int n = FindNamespace(this.specialParent, this.dom.nodes[this.location].nextSibling, scope); 990this.location = this.dom.nodes[this.location].parent; 1001XPathNodeType t = this.dom.nodes[this.location].type; 1004n = this.dom.nodes[this.location].prevSibling; 1159if (this.nodes == null || this.nodes.Length < minSize) 1165Array.Clear(this.nodes, 1, this.nextFreeIndex - 1); 1172Array.Copy(BlankDom, this.nodes, HeaderIndex + 1); 1175this.nodes[EnvelopeIndex].ns = soapNS; 1176this.nodes[SoapNSIndex].val = soapNS; 1177this.nodes[HeaderIndex].ns = soapNS; 1179this.nodes[HeaderIndex].nextSibling = bodyIndex; 1180this.nodes[HeaderIndex].firstChild = this.bodyIndex != FirstHeaderIndex ? FirstHeaderIndex : NullIndex; 1187this.nodes[i].type = XPathNodeType.Element; 1188this.nodes[i].parent = HeaderIndex; 1189this.nodes[i].nextSibling = i + 1; 1190this.nodes[i].prevSibling = i - 1; 1194this.nodes[i].ns = header.Namespace; 1195this.nodes[i].name = header.Name; 1196this.nodes[i].firstChild = -1; 1198this.nodes[FirstHeaderIndex].prevSibling = NullIndex; 1199this.nodes[this.bodyIndex - 1].nextSibling = NullIndex; 1203this.nodes[bodyIndex].type = XPathNodeType.Element; 1204this.nodes[bodyIndex].prefix = SoapP; 1205this.nodes[bodyIndex].ns = soapNS; 1206this.nodes[bodyIndex].name = BodyTag; 1207this.nodes[bodyIndex].parent = EnvelopeIndex; 1208this.nodes[bodyIndex].prevSibling = HeaderIndex; 1209this.nodes[bodyIndex].firstNamespace = SoapNSIndex; 1210this.nodes[bodyIndex].firstChild = -1; // Need to load 1224this.nodes[attr].parent = node; 1225this.nodes[attr].nextSibling = this.nodes[node].firstAttribute; 1226this.nodes[node].firstAttribute = attr; 1234if (this.nodes[parent].firstChild == NullIndex) 1237this.nodes[parent].firstChild = child; 1238this.nodes[child].parent = parent; 1243AddSibling(this.nodes[parent].firstChild, child); 1252this.nodes[ns].parent = node; 1253this.nodes[ns].nextSibling = this.nodes[node].firstNamespace; 1254this.nodes[node].firstNamespace = ns; 1265this.nodes[i].nextSibling = node2; 1266this.nodes[node2].prevSibling = i; 1267this.nodes[node2].parent = this.nodes[i].parent; 1277s = this.nodes[first].prefix; 1280this.nodes[first].prefix = this.nameTable.Add(s); 1283s = this.nodes[first].name; 1286this.nodes[first].name = this.nameTable.Add(s); 1289s = this.nodes[first].ns; 1292this.nodes[first].ns = this.nameTable.Add(s); 1352if (this.nodes[loc1].type == XPathNodeType.Attribute) 1354thisNode = this.nodes[loc1].parent; 1370if (this.nodes[loc2].type == XPathNodeType.Attribute) 1372thatNode = this.nodes[loc2].parent; 1387XPathNodeType type1 = this.nodes[loc1].type; 1388XPathNodeType type2 = this.nodes[loc2].type; 1428thisP = this.nodes[thisP].parent; 1434thatP = this.nodes[thatP].parent; 1462if (p.parent > NullIndex && p.parent < this.nextFreeIndex && this.nodes[p.parent].type == XPathNodeType.Element && this.nodes[p.elem].type == XPathNodeType.Namespace) 1465int n = this.nodes[p.elem].parent; 1475par = this.nodes[par].parent; 1500nodeName = this.dom.nodes[ns].name; 1503ns = this.dom.nodes[ns].nextSibling; 1510nodeVal = this.dom.nodes[ns].val; 1528ns = this.dom.nodes[ns].nextSibling; 1539if (this.dom.nodes[ns].parent != parent) 1569p = this.dom.nodes[elem].prefix; 1570n = this.dom.nodes[elem].name; 1584string val = this.nodes[elem].val; 1599this.nodes[elem].val = s; 1614switch (this.nodes[elem].type) 1619val = this.nodes[elem].val; 1622int n = this.nodes[elem].firstChild; 1627n = this.nodes[n].nextSibling; 1638this.stringBuilder.Append(this.nodes[elem].val); 1710n = this.nodes[n].firstChild; 1725while (this.nodes[n].nextSibling != NullIndex) 1727n = this.nodes[n].nextSibling; 1777this.nodes[self].firstNamespace = SoapNSIndex; 1778this.nodes[self].prefix = this.atomize ? this.nameTable.Add(reader.Prefix) : reader.Prefix; 1779this.nodes[self].baseUri = reader.BaseURI; 1780this.nodes[self].xmlLang = reader.XmlLang; 1788ReadChildNodes(reader, self, this.nodes[self].firstNamespace); 1825if (this.nodes[elem].firstChild == -1) 1828this.nodes[elem].firstChild = 0; 1862if (this.nextFreeIndex == this.nodes.Length) 1866if (this.nodes.Length <= StretchMax) 1868size = this.nodes.Length * GrowFactor; 1872size = this.nodes.Length + GrowInc; 1877this.nodes.CopyTo(tmp, 0); 1895this.nodes[a].type = XPathNodeType.Attribute; 1896this.nodes[a].prefix = reader.Prefix; 1897this.nodes[a].name = reader.LocalName; 1898this.nodes[a].ns = reader.NamespaceURI; 1899this.nodes[a].val = reader.Value; 1900this.nodes[a].baseUri = reader.BaseURI; 1901this.nodes[a].xmlLang = reader.XmlLang; 1915this.nodes[n].type = XPathNodeType.Namespace; 1916this.nodes[n].name = name; 1917this.nodes[n].val = reader.Value; 1918this.nodes[n].baseUri = reader.BaseURI; 1919this.nodes[n].xmlLang = reader.XmlLang; 1940this.nodes[n].type = XPathNodeType.Element; 1941this.nodes[n].prefix = reader.Prefix; 1942this.nodes[n].name = reader.LocalName; 1943this.nodes[n].ns = reader.NamespaceURI; 1944this.nodes[n].firstNamespace = parentNS; 1945this.nodes[n].baseUri = reader.BaseURI; 1946this.nodes[n].xmlLang = reader.XmlLang; 1953ReadChildNodes(reader, n, this.nodes[n].firstNamespace); 1958this.nodes[n].empty = true; 1966this.nodes[n].type = XPathNodeType.Comment; 1967this.nodes[n].val = reader.Value; 1968this.nodes[n].baseUri = reader.BaseURI; 1969this.nodes[n].xmlLang = reader.XmlLang; 1975this.nodes[n].type = XPathNodeType.ProcessingInstruction; 1976this.nodes[n].name = reader.LocalName; 1977this.nodes[n].val = reader.Value; 1978this.nodes[n].baseUri = reader.BaseURI; 1979this.nodes[n].xmlLang = reader.XmlLang; 1989if (n != NullIndex && (this.nodes[n].type == XPathNodeType.Text || 1990this.nodes[n].type == XPathNodeType.Whitespace || 1991this.nodes[n].type == XPathNodeType.SignificantWhitespace)) 1993this.nodes[n].val = this.nodes[n].val + reader.Value; 1998this.nodes[n].type = XPathNodeType.SignificantWhitespace; 1999this.nodes[n].val = reader.Value; 2000this.nodes[n].baseUri = reader.BaseURI; 2001this.nodes[n].xmlLang = reader.XmlLang; 2017if (n != NullIndex && (this.nodes[n].type == XPathNodeType.Text || 2018this.nodes[n].type == XPathNodeType.Whitespace || 2019this.nodes[n].type == XPathNodeType.SignificantWhitespace)) 2021this.nodes[n].val = this.nodes[n].val + reader.Value; 2026this.nodes[n].type = XPathNodeType.Whitespace; 2027this.nodes[n].val = reader.Value; 2028this.nodes[n].baseUri = reader.BaseURI; 2029this.nodes[n].xmlLang = reader.XmlLang; 2039if (n == NullIndex || (this.nodes[n].type != XPathNodeType.Text && 2040this.nodes[n].type != XPathNodeType.Whitespace && 2041this.nodes[n].type != XPathNodeType.SignificantWhitespace)) 2048this.nodes[n].baseUri = reader.BaseURI; 2049this.nodes[n].xmlLang = reader.XmlLang; 2052this.nodes[n].type = XPathNodeType.Text; 2053this.nodes[n].val = reader.Value;