40 writes to _tokenStartPos
System.Private.Xml (40)
System\Xml\Schema\DtdParser.cs (20)
1616_tokenStartPos = _curPos; 2402_tokenStartPos = _curPos; 2428_tokenStartPos = _curPos; 2444_tokenStartPos = _curPos; 2461_tokenStartPos = _curPos + 2; 2478_tokenStartPos = _curPos; // For entities: EOL normalization of 0xD and 0xD 0xA 2488_tokenStartPos++; 2508_tokenStartPos = _curPos; 2529_tokenStartPos = endPos; 2546_tokenStartPos = endPos; 2553_tokenStartPos = _curPos; 2564_tokenStartPos = _curPos; 2572_tokenStartPos = _curPos; 2619_tokenStartPos = _curPos; 2962_tokenStartPos = _curPos; 2978_tokenStartPos = _curPos; 3058_tokenStartPos = _curPos; 3065_tokenStartPos = _curPos; 3096_tokenStartPos = _curPos; 3102_tokenStartPos = _curPos;
System\Xml\Schema\DtdParserAsync.cs (20)
1243_tokenStartPos = _curPos; 1848_tokenStartPos = _curPos; 1874_tokenStartPos = _curPos; 1890_tokenStartPos = _curPos; 1907_tokenStartPos = _curPos + 2; 1924_tokenStartPos = _curPos; // For entities: EOL normalization of 0xD and 0xD 0xA 1934_tokenStartPos++; 1954_tokenStartPos = _curPos; 1975_tokenStartPos = endPos; 1992_tokenStartPos = endPos; 1999_tokenStartPos = _curPos; 2010_tokenStartPos = _curPos; 2018_tokenStartPos = _curPos; 2065_tokenStartPos = _curPos; 2376_tokenStartPos = _curPos; 2392_tokenStartPos = _curPos; 2471_tokenStartPos = _curPos; 2478_tokenStartPos = _curPos; 2509_tokenStartPos = _curPos; 2515_tokenStartPos = _curPos;
41 references to _tokenStartPos
System.Private.Xml (41)
System\Xml\Schema\DtdParser.cs (27)
673attrDef.LinePosition = (int)LinePos - (_curPos - _tokenStartPos); 2417_stringBuilder.Append(_chars, _tokenStartPos, _curPos - _tokenStartPos); 2424int tmp1 = _curPos - _tokenStartPos; 2427_stringBuilder.Append(_chars, _tokenStartPos, tmp1); 2609Debug.Assert(_curPos - _tokenStartPos == 0); 3025colonOffset = _curPos - _tokenStartPos; 3042if (_tokenStartPos == _curPos) 3048_colonPos = (colonOffset == -1) ? -1 : _tokenStartPos + colonOffset; 3055int offset = _curPos - _tokenStartPos; 3056_curPos = _tokenStartPos; 3083if (_curPos - _tokenStartPos == 0) 3090int len = _curPos - _tokenStartPos; 3091_curPos = _tokenStartPos; 3150Debug.Assert(_curPos - _tokenStartPos > 0); 3153return new XmlQualifiedName(_nameTable.Add(_chars, _tokenStartPos, _curPos - _tokenStartPos)); 3160_nameTable.Add(_chars, _tokenStartPos, _colonPos - _tokenStartPos)); 3164Throw(_tokenStartPos, SR.Xml_ColonInLocalName, GetNameString()); 3172Debug.Assert(_curPos - _tokenStartPos > 0); 3173return new string(_chars, _tokenStartPos, _curPos - _tokenStartPos); 3185return new string(_chars, _tokenStartPos, _curPos - _tokenStartPos - 1); 3197string val = (_stringBuilder.Length == 0) ? new string(_chars, _tokenStartPos, _curPos - _tokenStartPos - 1) : _stringBuilder.ToString();
System\Xml\Schema\DtdParserAsync.cs (14)
317attrDef.LinePosition = (int)LinePos - (_curPos - _tokenStartPos); 1863_stringBuilder.Append(_chars, _tokenStartPos, _curPos - _tokenStartPos); 1870int tmp1 = _curPos - _tokenStartPos; 1873_stringBuilder.Append(_chars, _tokenStartPos, tmp1); 2055Debug.Assert(_curPos - _tokenStartPos == 0); 2438colonOffset = _curPos - _tokenStartPos; 2455if (_tokenStartPos == _curPos) 2461_colonPos = (colonOffset == -1) ? -1 : _tokenStartPos + colonOffset; 2468int offset = _curPos - _tokenStartPos; 2469_curPos = _tokenStartPos; 2496if (_curPos - _tokenStartPos == 0) 2503int len = _curPos - _tokenStartPos; 2504_curPos = _tokenStartPos;