1 write to _rtfBytes
PresentationFramework (1)
src\Framework\System\Windows\Documents\RtfToXamlLexer.cs (1)
37
_rtfBytes
= rtfBytes;
33 references to _rtfBytes
PresentationFramework (33)
src\Framework\System\Windows\Documents\RtfToXamlLexer.cs (33)
67
if (_rtfIndex >=
_rtfBytes
.Length)
74
byte tokenChar =
_rtfBytes
[_rtfIndex++];
100
if (_rtfIndex >=
_rtfBytes
.Length)
115
token.Text = CurrentEncoding.GetString(
_rtfBytes
, controlStartIndex - 1, _rtfIndex - rtfStartIndex);
133
token.Text = CurrentEncoding.GetString(
_rtfBytes
, _rtfIndex, 1);
227
if (_rtfIndex + skip <
_rtfBytes
.Length)
233
_rtfIndex =
_rtfBytes
.Length - 1;
240
byte tokenChar =
_rtfBytes
[_rtfIndex];
245
tokenChar =
_rtfBytes
[_rtfIndex++];
256
byte tokenChar =
_rtfBytes
[_rtfIndex];
269
tokenNextChar =
_rtfBytes
[_rtfIndex + 1];
284
tokenChar =
_rtfBytes
[_rtfIndex];
322
return
_rtfBytes
[_rtfIndex];
354
while (e <
_rtfBytes
.Length)
356
if (IsControl(
_rtfBytes
[e]))
358
if (
_rtfBytes
[e] == (byte)'\\'
359
&& e + 3 <
_rtfBytes
.Length
360
&&
_rtfBytes
[e + 1] == '\''
361
&& IsHex(
_rtfBytes
[e + 2])
362
&& IsHex(
_rtfBytes
[e + 3]))
372
else if (
_rtfBytes
[e] == '\r' ||
_rtfBytes
[e] == '\n' ||
_rtfBytes
[e] == 0)
397
if (
_rtfBytes
[s] == '\\')
399
bytes[i++] = (byte)((byte)(HexToByte(
_rtfBytes
[s + 2]) << 4) + HexToByte(
_rtfBytes
[s + 3]));
404
bytes[i++] =
_rtfBytes
[s++];
412
token.Text = CurrentEncoding.GetString(
_rtfBytes
, s, e - s);
436
while (_rtfIndex <
_rtfBytes
.Length && IsControlCharValid(CurByte))
442
string controlName = CurrentEncoding.GetString(
_rtfBytes
, controlStartIndex, controlLength);
454
if (_rtfIndex <
_rtfBytes
.Length)
474
while (_rtfIndex <
_rtfBytes
.Length && IsParameterFollow(CurByte))
483
if (_rtfIndex <
_rtfBytes
.Length && CurByte == ' ')