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)
196
throw new System.FormatException(SR.Format(SR.Parser_UnexpectedToken, _pathString,
_curIndex
- 1));
201
return
_curIndex
< _pathLength;
211
char ch = _pathString[
_curIndex
];
275
_token = _pathString[
_curIndex
];
297
if (signAllowed && More() && ((_pathString[
_curIndex
] == '-') || _pathString[
_curIndex
] == '+'))
302
while (More() && (_pathString[
_curIndex
] >= '0') && (_pathString[
_curIndex
] <= '9'))
345
int start =
_curIndex
;
353
if (More() && ((_pathString[
_curIndex
] == '-') || _pathString[
_curIndex
] == '+'))
359
if (More() && (_pathString[
_curIndex
] == 'I'))
365
_curIndex = Math.Min(
_curIndex
+8, _pathLength); // "Infinity" has 8 characters
369
else if (More() && (_pathString[
_curIndex
] == 'N'))
375
_curIndex = Math.Min(
_curIndex
+3, _pathLength); // "NaN" has 3 characters
383
if (More() && (_pathString[
_curIndex
] == '.'))
391
if (More() && ((_pathString[
_curIndex
] == 'E') || (_pathString[
_curIndex
] == 'e')))
399
if (simple && (
_curIndex
<= (start + 8))) // 32-bit integer
415
while (start <
_curIndex
)
428
return double.Parse(_pathString.AsSpan(start,
_curIndex
- start), provider: _formatProvider);