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