7 references to SurHighStart
System.Private.Xml (7)
System\Xml\Core\XmlEncodedRawTextWriter.cs (1)
1160
while (pDst < pDstEnd && ((ch = *pSrc) < XmlCharType.
SurHighStart
))
System\Xml\Core\XmlEncodedRawTextWriterAsync.cs (1)
1186
while (pDst < pDstEnd && ((ch = *pSrc) < XmlCharType.
SurHighStart
))
System\Xml\XmlCharType.cs (4)
115
internal static bool IsHighSurrogate(int ch) => InRange(ch,
SurHighStart
, SurHighEnd);
119
internal static bool IsSurrogate(int ch) => InRange(ch,
SurHighStart
, SurLowEnd);
123
return (lowChar - SurLowStart) | ((highChar -
SurHighStart
) << 10) + 0x10000;
130
highChar = (char)(
SurHighStart
+ v / 1024);
System\Xml\XmlEncoding.cs (1)
505
chars[charIndex] = (char)(XmlCharType.
SurHighStart
+ (char)((code >> 16) - 1) + (char)((code >> 10) & 0x3F));