51 writes to pos
System.Xml (51)
System\Xml\BinaryXml\XmlBinaryReader.cs (51)
354this.pos = 2; 360this.pos = 0; 725this.pos = this.posAfterAttrs; 748this.pos = this.attributes[this.attrIndex - 1].contentPos; 790this.pos = this.end = 0; 888this.pos = this.attributes[this.attrIndex - 1].contentPos; 1005this.pos = origPos; 1091this.pos = origPos; 1177this.pos = origPos; 1263this.pos = origPos; 1349this.pos = origPos; 1435this.pos = origPos; 1521this.pos = origPos; 1552this.pos = origPos; 1588this.pos = origPos; 1732checked{this.pos += cb;} 1782this.pos = pos; 1788this.pos -= end; 1819return this.data[this.pos++]; 1825this.pos += 2; 1921return (BinXmlToken)this.data[this.pos++]; 1953this.pos = pos + 1; 1970this.pos = pos + 1; 1981this.pos--; 1993checked{this.pos += 2 * cb;} 2003checked{this.pos += cb;} 2033checked{this.pos += cch * 2;} // cch = num utf-16 chars 2073this.pos = this.attributes[i].contentPos; 2083this.pos = origPos; 2236this.pos++; 2240this.pos++; 2422this.pos++; // skip over token byte 2440this.pos++; 2447this.pos++; 2714this.pos++; 2721this.pos -= 3; // jump back to start of NVarChar token 2725this.pos -= 1; // jump back to EndElem token 2730this.pos -= 2; // jump back to start of NVarChar token 2765this.pos++; 2769this.pos++; 2773this.pos++; 2956checked{this.pos += this.tokLen * 2;} 2987this.pos += 1; 2994this.pos += 2; 3004this.pos += 4; 3017this.pos += 8; 3023this.pos += 16; 3031this.pos += this.tokLen; 3042this.pos += this.tokLen; 3050this.pos += this.tokLen; 3079this.pos += tokLen;
61 references to pos
System.Xml (61)
System\Xml\BinaryXml\XmlBinaryReader.cs (61)
924return this.pos; 930int origPos = this.pos; 1012int origPos = this.pos; 1098int origPos = this.pos; 1184int origPos = this.pos; 1270int origPos = this.pos; 1356int origPos = this.pos; 1442int origPos = this.pos; 1528int origPos = this.pos; 1559int origPos = this.pos; 1755int pos = this.pos; 1763Debug.Assert(this.mark <= this.pos, "Mark should never be after Pos"); 1804Debug.Assert((this.pos + require) >= this.end); 1805while (FillAllowEOF() && ((this.pos + require) >= this.end)) 1807if ((this.pos + require) >= this.end) 1813if ((this.pos + require) >= this.end) 1823int pos = this.pos; byte[] data = this.data; 1909while ((this.pos >= this.end) && FillAllowEOF()) 1911if (this.pos >= this.end) 1913return (BinXmlToken)this.data[this.pos]; 1917while ((this.pos >= this.end) && FillAllowEOF()) 1919if (this.pos >= this.end) 1948int pos = this.pos; 1966int pos = this.pos; 2018this.mark = this.pos; 2032int begin = this.pos; 2034if (this.pos > this.end) 2071int origPos = this.pos; 2262this.posAfterAttrs = this.pos; 2279this.mark = this.pos; 2295this.attributes[this.attrCount].Set(n, (int)this.pos); 2606this.mark = this.pos; 2712this.mark = this.pos; 2720Debug.Assert(this.pos >= 3); 2724Debug.Assert(this.pos >= 1); 2729Debug.Assert(this.pos >= 2); 2735this.posAfterAttrs = this.pos; 2774this.mark = this.pos; 2781this.posAfterAttrs = this.pos; 2786this.mark = this.pos; 2793this.mark = this.pos; 2800this.mark = this.pos; 2953this.mark = this.pos; 2955this.tokDataPos = this.pos; 2978this.mark = this.pos; 2985this.tokDataPos = this.pos; 2992this.tokDataPos = this.pos; 3002this.tokDataPos = this.pos; 3015this.tokDataPos = this.pos; 3021this.tokDataPos = this.pos; 3029this.tokDataPos = this.pos; 3041this.tokDataPos = this.pos; 3049this.tokDataPos = this.pos; 3066this.tokDataPos = this.pos; 3077this.tokDataPos = this.pos; 3093Debug.Assert(0 == ((this.pos - this.tokDataPos) & 1), "Data size should not be odd"); 3098int end = this.pos; 3146Debug.Assert(0 == ((this.pos - this.tokDataPos) & 1), "Data size should not be odd"); 3147for (int pos = this.tokDataPos; pos < this.pos; pos += 2) { 3182scale = this.data[this.pos]; 3189scale = this.data[this.pos];