5 references to CurrentEncoding
PresentationFramework (5)
System\Windows\Documents\RtfToXamlLexer.cs (5)
112token.Text = CurrentEncoding.GetString(_rtfBytes, controlStartIndex - 1, _rtfIndex - rtfStartIndex);
130token.Text = CurrentEncoding.GetString(_rtfBytes, _rtfIndex, 1);
405token.Text = CurrentEncoding.GetString(bytes, 0, i);
409token.Text = CurrentEncoding.GetString(_rtfBytes, s, e - s);
439string controlName = CurrentEncoding.GetString(_rtfBytes, controlStartIndex, controlLength);