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