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