51 writes to _pos
dotnet-svcutil-lib (51)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (51)
391_pos = 2; 398_pos = 0; 833_pos = _posAfterAttrs; 861_pos = _attributes[_attrIndex - 1].contentPos; 907_pos = _end = 0; 1023_pos = _attributes[_attrIndex - 1].contentPos; 1153_pos = origPos; 1248_pos = origPos; 1343_pos = origPos; 1438_pos = origPos; 1533_pos = origPos; 1628_pos = origPos; 1723_pos = origPos; 1762_pos = origPos; 1809_pos = origPos; 1980checked { _pos += cb; } 2038_pos = pos; 2045_pos -= end; 2079return _data[_pos++]; 2086_pos += 2; 2195return (BinXmlToken)_data[_pos++]; 2232_pos = pos + 1; 2252_pos = pos + 1; 2264_pos--; 2280checked { _pos += 2 * cb; } 2291checked { _pos += cb; } 2325checked { _pos += cch * 2; } // cch = num utf-16 chars 2371_pos = _attributes[i].contentPos; 2383_pos = origPos; 2562_pos++; 2567_pos++; 2778_pos++; // skip over token byte 2800_pos++; 2807_pos++; 3088_pos++; 3097_pos -= 3; // jump back to start of NVarChar token 3102_pos -= 1; // jump back to EndElem token 3108_pos -= 2; // jump back to start of NVarChar token 3147_pos++; 3152_pos++; 3157_pos++; 3361checked { _pos += _tokLen * 2; } 3399_pos += 1; 3406_pos += 2; 3416_pos += 4; 3429_pos += 8; 3435_pos += 16; 3443_pos += _tokLen; 3454_pos += _tokLen; 3462_pos += _tokLen; 3492_pos += _tokLen;
61 references to _pos
dotnet-svcutil-lib (61)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (61)
1064return _pos; 1071int origPos = _pos; 1161int origPos = _pos; 1256int origPos = _pos; 1351int origPos = _pos; 1446int origPos = _pos; 1541int origPos = _pos; 1636int origPos = _pos; 1731int origPos = _pos; 1770int origPos = _pos; 2006int pos = _pos; 2016Debug.Assert(_mark <= _pos, "Mark should never be after Pos"); 2062Debug.Assert((_pos + require) >= _end); 2063while (FillAllowEOF() && ((_pos + require) >= _end)) 2065if ((_pos + require) >= _end) 2072if ((_pos + require) >= _end) 2084int pos = _pos; byte[] data = _data; 2182while ((_pos >= _end) && FillAllowEOF()) 2184if (_pos >= _end) 2186return (BinXmlToken)_data[_pos]; 2191while ((_pos >= _end) && FillAllowEOF()) 2193if (_pos >= _end) 2226int pos = _pos; 2246int pos = _pos; 2308_mark = _pos; 2324int begin = _pos; 2326if (_pos > _end) 2368int origPos = _pos; 2591_posAfterAttrs = _pos; 2609_mark = _pos; 2628_attributes[_attrCount].Set(n, (int)_pos); 2972_mark = _pos; 3086_mark = _pos; 3096Debug.Assert(_pos >= 3); 3101Debug.Assert(_pos >= 1); 3107Debug.Assert(_pos >= 2); 3113_posAfterAttrs = _pos; 3158_mark = _pos; 3166_posAfterAttrs = _pos; 3172_mark = _pos; 3180_mark = _pos; 3188_mark = _pos; 3358_mark = _pos; 3360_tokDataPos = _pos; 3388_mark = _pos; 3397_tokDataPos = _pos; 3404_tokDataPos = _pos; 3414_tokDataPos = _pos; 3427_tokDataPos = _pos; 3433_tokDataPos = _pos; 3441_tokDataPos = _pos; 3453_tokDataPos = _pos; 3461_tokDataPos = _pos; 3479_tokDataPos = _pos; 3490_tokDataPos = _pos; 3507Debug.Assert(0 == ((_pos - _tokDataPos) & 1), "Data size should not be odd"); 3513int end = _pos; 3570Debug.Assert(0 == ((_pos - _tokDataPos) & 1), "Data size should not be odd"); 3571for (int pos = _tokDataPos; pos < _pos; pos += 2) 3611scale = _data[_pos]; 3618scale = _data[_pos];