5 references to CurrentEncoding
PresentationFramework (5)
System\Windows\Documents\RtfToXamlLexer.cs (5)
113token.Text = CurrentEncoding.GetString(_rtfBytes, controlStartIndex - 1, _rtfIndex - rtfStartIndex);
131token.Text = CurrentEncoding.GetString(_rtfBytes, _rtfIndex, 1);
406token.Text = CurrentEncoding.GetString(bytes, 0, i);
410token.Text = CurrentEncoding.GetString(_rtfBytes, s, e - s);
440string controlName = CurrentEncoding.GetString(_rtfBytes, controlStartIndex, controlLength);