11 writes to _curIndex
PresentationCore (11)
System\Windows\Media\ParsersCommon.cs (11)
242_curIndex ++; 259_token = _pathString[_curIndex ++]; 299_curIndex++; 304_curIndex ++; 355_curIndex ++; 365_curIndex = Math.Min(_curIndex+8, _pathLength); // "Infinity" has 8 characters 375_curIndex = Math.Min(_curIndex+3, _pathLength); // "NaN" has 3 characters 386_curIndex ++; 394_curIndex ++; 450_token = _pathString[_curIndex ++]; 521_curIndex = startIndex;
21 references to _curIndex
PresentationCore (21)
System\Windows\Media\ParsersCommon.cs (21)
196throw new System.FormatException(SR.Format(SR.Parser_UnexpectedToken, _pathString, _curIndex - 1)); 201return _curIndex < _pathLength; 211char ch = _pathString[_curIndex]; 275_token = _pathString[_curIndex]; 297if (signAllowed && More() && ((_pathString[_curIndex] == '-') || _pathString[_curIndex] == '+')) 302while (More() && (_pathString[_curIndex] >= '0') && (_pathString[_curIndex] <= '9')) 345int start = _curIndex; 353if (More() && ((_pathString[_curIndex] == '-') || _pathString[_curIndex] == '+')) 359if (More() && (_pathString[_curIndex] == 'I')) 365_curIndex = Math.Min(_curIndex+8, _pathLength); // "Infinity" has 8 characters 369else if (More() && (_pathString[_curIndex] == 'N')) 375_curIndex = Math.Min(_curIndex+3, _pathLength); // "NaN" has 3 characters 383if (More() && (_pathString[_curIndex] == '.')) 391if (More() && ((_pathString[_curIndex] == 'E') || (_pathString[_curIndex] == 'e'))) 399if (simple && (_curIndex <= (start + 8))) // 32-bit integer 415while (start < _curIndex) 428return double.Parse(_pathString.AsSpan(start, _curIndex - start), provider: _formatProvider);