11 writes to _curIndex
PresentationCore (11)
System\Windows\Media\ParsersCommon.cs (11)
254_curIndex ++; 271_token = _pathString[_curIndex ++]; 311_curIndex++; 316_curIndex ++; 367_curIndex ++; 377_curIndex = Math.Min(_curIndex+8, _pathLength); // "Infinity" has 8 characters 387_curIndex = Math.Min(_curIndex+3, _pathLength); // "NaN" has 3 characters 398_curIndex ++; 406_curIndex ++; 462_token = _pathString[_curIndex ++]; 533_curIndex = startIndex;
21 references to _curIndex
PresentationCore (21)
System\Windows\Media\ParsersCommon.cs (21)
208throw new System.FormatException(SR.Format(SR.Parser_UnexpectedToken, _pathString, _curIndex - 1)); 213return _curIndex < _pathLength; 223char ch = _pathString[_curIndex]; 287_token = _pathString[_curIndex]; 309if (signAllowed && More() && ((_pathString[_curIndex] == '-') || _pathString[_curIndex] == '+')) 314while (More() && (_pathString[_curIndex] >= '0') && (_pathString[_curIndex] <= '9')) 357int start = _curIndex; 365if (More() && ((_pathString[_curIndex] == '-') || _pathString[_curIndex] == '+')) 371if (More() && (_pathString[_curIndex] == 'I')) 377_curIndex = Math.Min(_curIndex+8, _pathLength); // "Infinity" has 8 characters 381else if (More() && (_pathString[_curIndex] == 'N')) 387_curIndex = Math.Min(_curIndex+3, _pathLength); // "NaN" has 3 characters 395if (More() && (_pathString[_curIndex] == '.')) 403if (More() && ((_pathString[_curIndex] == 'E') || (_pathString[_curIndex] == 'e'))) 411if (simple && (_curIndex <= (start + 8))) // 32-bit integer 427while (start < _curIndex) 440return double.Parse(_pathString.AsSpan(start, _curIndex - start), provider: _formatProvider);