2 references to IsBadCode
PresentationFramework (2)
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (2)
1803
if (Char.IsHighSurrogate(testChar) || Char.IsLowSurrogate(testChar) ||
IsBadCode
(testChar))
1841
else if (
IsBadCode
(text[i]))