20 writes to _rtfIndex
PresentationFramework (20)
src\Framework\System\Windows\Documents\RtfToXamlLexer.cs (20)
74byte tokenChar = _rtfBytes[_rtfIndex++]; 120_rtfIndex--; 126_rtfIndex++; 135_rtfIndex++; 143_rtfIndex--; 210_rtfIndex += 4; 214_rtfIndex++; 229_rtfIndex += skip; 233_rtfIndex = _rtfBytes.Length - 1; 245tokenChar = _rtfBytes[_rtfIndex++]; 249_rtfIndex--; 279_rtfIndex++; 283_rtfIndex++; 388_rtfIndex = e; 428_rtfIndex = _rtfLastIndex; 438_rtfIndex++; 458_rtfIndex++; 467_rtfIndex++; 477_rtfIndex++; 485_rtfIndex++;
24 references to _rtfIndex
PresentationFramework (24)
src\Framework\System\Windows\Documents\RtfToXamlLexer.cs (24)
63_rtfLastIndex = _rtfIndex; 67if (_rtfIndex >= _rtfBytes.Length) 73int rtfStartIndex = _rtfIndex; 100if (_rtfIndex >= _rtfBytes.Length) 109int controlStartIndex = _rtfIndex; 115token.Text = CurrentEncoding.GetString(_rtfBytes, controlStartIndex - 1, _rtfIndex - rtfStartIndex); 133token.Text = CurrentEncoding.GetString(_rtfBytes, _rtfIndex, 1); 204int nEndTextIndex = _rtfIndex; 206while (nSkip > 0 && _rtfIndex < nEndTextIndex) 227if (_rtfIndex + skip < _rtfBytes.Length) 240byte tokenChar = _rtfBytes[_rtfIndex]; 256byte tokenChar = _rtfBytes[_rtfIndex]; 269tokenNextChar = _rtfBytes[_rtfIndex + 1]; 284tokenChar = _rtfBytes[_rtfIndex]; 322return _rtfBytes[_rtfIndex]; 345_rtfLastIndex = _rtfIndex; 350int s = _rtfIndex; 436while (_rtfIndex < _rtfBytes.Length && IsControlCharValid(CurByte)) 441int controlLength = _rtfIndex - controlStartIndex; 454if (_rtfIndex < _rtfBytes.Length) 472int paramStartIndex = _rtfIndex; 474while (_rtfIndex < _rtfBytes.Length && IsParameterFollow(CurByte)) 480int paramLength = _rtfIndex - paramStartIndex; 483if (_rtfIndex < _rtfBytes.Length && CurByte == ' ')