40 references to IsHighSurrogate
mscorlib (26)
system\char.cs (2)
858return (IsHighSurrogate(s[index])); 948if (!IsHighSurrogate(highSurrogate)) {
system\text\asciiencoding.cs (3)
425Contract.Assert(charLeftOver == 0 || Char.IsHighSurrogate(charLeftOver), 481Contract.Assert(Char.IsHighSurrogate(charLeftOver), "[ASCIIEncoding.GetByteCount]leftover character should be high surrogate"); 581Contract.Assert(charLeftOver == 0 || Char.IsHighSurrogate(charLeftOver),
system\text\dbcscodepageencoding.cs (2)
572Contract.Assert(Char.IsHighSurrogate(charLeftOver), "[DBCSCodePageEncoding.GetByteCount]leftover character should be high surrogate"); 658Contract.Assert(charLeftOver == 0 || Char.IsHighSurrogate(charLeftOver),
system\text\decoderfallback.cs (2)
171if (Char.IsHighSurrogate(ch)) 232if (Char.IsHighSurrogate(ch))
system\text\encoderbestfitfallback.cs (1)
121if (!Char.IsHighSurrogate(charUnknownHigh))
system\text\encoderexceptionfallback.cs (2)
65if (!Char.IsHighSurrogate(charUnknownHigh)) 148if (!Char.IsHighSurrogate(charUnknownHigh))
system\text\encoderfallback.cs (1)
178if (Char.IsHighSurrogate(ch))
system\text\encoderreplacementfallback.cs (2)
133if (char.IsHighSurrogate(charUnknown) && fallbackCount >= 0 && 152if (!Char.IsHighSurrogate(charUnknownHigh))
system\text\gb18030encoding.cs (2)
299Contract.Assert(Char.IsHighSurrogate(charLeftOver), 350else if (Char.IsHighSurrogate(ch))
system\text\iso2022encoding.cs (3)
434Contract.Assert(Char.IsHighSurrogate(charLeftOver), "[ISO2022Encoding.GetBytesCP5022xJP]leftover character should be high surrogate"); 677Contract.Assert(Char.IsHighSurrogate(charLeftOver), "[ISO2022Encoding.GetBytesCP50225KR]leftover character should be high surrogate"); 825Contract.Assert(Char.IsHighSurrogate(charLeftOver), "[ISO2022Encoding.GetBytesCP52936]leftover character should be high surrogate");
system\text\latin1encoding.cs (2)
82Contract.Assert(charLeftOver == 0 || Char.IsHighSurrogate(charLeftOver), 200Contract.Assert(charLeftOver == 0 || Char.IsHighSurrogate(charLeftOver),
system\text\sbcscodepageencoding.cs (2)
323Contract.Assert(charLeftOver == 0 || Char.IsHighSurrogate(charLeftOver), 447Contract.Assert(charLeftOver == 0 || Char.IsHighSurrogate(charLeftOver),
system\text\utf32encoding.cs (2)
516if (Char.IsHighSurrogate(ch)) 679if (Char.IsHighSurrogate(ch))
PresentationBuildTasks (1)
Framework\System\Windows\Markup\XamlReaderHelper.cs (1)
5465if (char.IsHighSurrogate(highChar))
PresentationFramework (2)
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (2)
1803if (Char.IsHighSurrogate(testChar) || Char.IsLowSurrogate(testChar) || IsBadCode(testChar)) 1820if (Char.IsHighSurrogate(text[i]))
System (6)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
466if( Char.IsHighSurrogate(value[i])
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
482if( Char.IsHighSurrogate(value[i])
net\System\IriHelper.cs (2)
30Debug.Assert(Char.IsHighSurrogate(highSurr)); 273if ((Char.IsHighSurrogate(ch)) && (next + 1 < end))
net\System\URI.cs (1)
4474if (Char.IsHighSurrogate(c)){
net\System\UriHelper.cs (1)
514bool isHighSurr = Char.IsHighSurrogate(unescapedCharsPtr[j]);
System.Runtime.Serialization (1)
System\Runtime\Serialization\Json\XmlJsonReader.cs (1)
1279if (Char.IsHighSurrogate((char)charValue))
System.Web (3)
Security\AntiXss\Utf16StringReader.cs (2)
68Debug.Assert(Char.IsHighSurrogate(leadingSurrogate), "'leadingSurrogate' was not a high surrogate."); 100if (Char.IsHighSurrogate(thisCodeUnit)) {
Util\Utf16StringValidator.cs (1)
55if (Char.IsHighSurrogate(thisChar)) {
System.Workflow.Activities (1)
Rules\CodeDomDecompiler.cs (1)
85if ((char.IsHighSurrogate(c)) && (i + 1 < strValue.Length) && (char.IsLowSurrogate(strValue[i + 1])))