20 writes to _rtfIndex
PresentationFramework (20)
System\Windows\Documents\RtfToXamlLexer.cs (20)
71
byte tokenChar = _rtfBytes[
_rtfIndex
++];
117
_rtfIndex
--;
123
_rtfIndex
++;
132
_rtfIndex
++;
140
_rtfIndex
--;
207
_rtfIndex
+= 4;
211
_rtfIndex
++;
226
_rtfIndex
+= skip;
230
_rtfIndex
= _rtfBytes.Length - 1;
242
tokenChar = _rtfBytes[
_rtfIndex
++];
246
_rtfIndex
--;
276
_rtfIndex
++;
280
_rtfIndex
++;
385
_rtfIndex
= e;
425
_rtfIndex
= _rtfLastIndex;
435
_rtfIndex
++;
455
_rtfIndex
++;
464
_rtfIndex
++;
474
_rtfIndex
++;
482
_rtfIndex
++;
24 references to _rtfIndex
PresentationFramework (24)
System\Windows\Documents\RtfToXamlLexer.cs (24)
60
_rtfLastIndex =
_rtfIndex
;
64
if (
_rtfIndex
>= _rtfBytes.Length)
70
int rtfStartIndex =
_rtfIndex
;
97
if (
_rtfIndex
>= _rtfBytes.Length)
106
int controlStartIndex =
_rtfIndex
;
112
token.Text = CurrentEncoding.GetString(_rtfBytes, controlStartIndex - 1,
_rtfIndex
- rtfStartIndex);
130
token.Text = CurrentEncoding.GetString(_rtfBytes,
_rtfIndex
, 1);
201
int nEndTextIndex =
_rtfIndex
;
203
while (nSkip > 0 &&
_rtfIndex
< nEndTextIndex)
224
if (
_rtfIndex
+ skip < _rtfBytes.Length)
237
byte tokenChar = _rtfBytes[
_rtfIndex
];
253
byte tokenChar = _rtfBytes[
_rtfIndex
];
266
tokenNextChar = _rtfBytes[
_rtfIndex
+ 1];
281
tokenChar = _rtfBytes[
_rtfIndex
];
319
return _rtfBytes[
_rtfIndex
];
342
_rtfLastIndex =
_rtfIndex
;
347
int s =
_rtfIndex
;
433
while (
_rtfIndex
< _rtfBytes.Length && IsControlCharValid(CurByte))
438
int controlLength =
_rtfIndex
- controlStartIndex;
451
if (
_rtfIndex
< _rtfBytes.Length)
469
int paramStartIndex =
_rtfIndex
;
471
while (
_rtfIndex
< _rtfBytes.Length && IsParameterFollow(CurByte))
477
int paramLength =
_rtfIndex
- paramStartIndex;
480
if (
_rtfIndex
< _rtfBytes.Length && CurByte == ' ')