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)
208
throw new System.FormatException(SR.Format(SR.Parser_UnexpectedToken, _pathString,
_curIndex
- 1));
213
return
_curIndex
< _pathLength;
223
char ch = _pathString[
_curIndex
];
287
_token = _pathString[
_curIndex
];
309
if (signAllowed && More() && ((_pathString[
_curIndex
] == '-') || _pathString[
_curIndex
] == '+'))
314
while (More() && (_pathString[
_curIndex
] >= '0') && (_pathString[
_curIndex
] <= '9'))
357
int start =
_curIndex
;
365
if (More() && ((_pathString[
_curIndex
] == '-') || _pathString[
_curIndex
] == '+'))
371
if (More() && (_pathString[
_curIndex
] == 'I'))
377
_curIndex = Math.Min(
_curIndex
+8, _pathLength); // "Infinity" has 8 characters
381
else if (More() && (_pathString[
_curIndex
] == 'N'))
387
_curIndex = Math.Min(
_curIndex
+3, _pathLength); // "NaN" has 3 characters
395
if (More() && (_pathString[
_curIndex
] == '.'))
403
if (More() && ((_pathString[
_curIndex
] == 'E') || (_pathString[
_curIndex
] == 'e')))
411
if (simple && (
_curIndex
<= (start + 8))) // 32-bit integer
427
while (start <
_curIndex
)
440
return double.Parse(_pathString.AsSpan(start,
_curIndex
- start), provider: _formatProvider);