18 references to IsSurrogatePair
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\Core\CharEntityEncoderFallback.cs (1)
123if (!char.IsSurrogatePair(charUnknownHigh, charUnknownLow))
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriter.cs (1)
1026if (!Char.IsSurrogatePair(highChar, lowChar))
Microsoft.ML.Tokenizers (3)
Utils\Helpers.cs (3)
96if (i < text.Length - 1 && char.IsSurrogatePair((char)c, text[i + 1])) 141if (text.Length > 1 && char.IsSurrogatePair((char)c, text[1])) 189if (i < text.Length - 1 && char.IsSurrogatePair((char)c, text[i + 1]))
Microsoft.ML.Tokenizers.Tests (4)
src\Microsoft.ML.Tokenizers\Utils\Helpers.cs (3)
96if (i < text.Length - 1 && char.IsSurrogatePair((char)c, text[i + 1])) 141if (text.Length > 1 && char.IsSurrogatePair((char)c, text[1])) 189if (i < text.Length - 1 && char.IsSurrogatePair((char)c, text[i + 1]))
src\Microsoft.ML.Tokenizers\Utils\Helpers.netstandard.cs (1)
167if (textIndex < text.Length - 1 && char.IsSurrogatePair((char)c, text[textIndex + 1]))
Microsoft.ML.TorchSharp (1)
Roberta\QATrainer.cs (1)
454else if (i + 1 < text.Length && char.IsSurrogatePair(text[i], text[i + 1]))
PresentationFramework (1)
System\Windows\Documents\TextPointerBase.cs (1)
1367if (Char.IsSurrogatePair(neighborhood[0], neighborhood[1]) ||
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\W3CPropagator.cs (1)
549if (i < value.Length - 1 && char.IsSurrogatePair((char)c, value[i + 1]))
System.Net.Mail (1)
System\Net\Mime\ByteEncoder.cs (1)
133return char.IsSurrogate(value[i]) && i + 1 < value.Length && char.IsSurrogatePair(value[i], value[i + 1]);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Text\EncoderFallback.cs (1)
147if (!char.IsSurrogatePair(firstChar, secondChar))
System.Private.Xml (4)
System\Xml\Core\CharEntityEncoderFallback.cs (1)
88if (!char.IsSurrogatePair(charUnknownHigh, charUnknownLow))
System\Xml\Core\XmlWellFormedWriter.cs (1)
984if (!char.IsSurrogatePair(highChar, lowChar))
System\Xml\Core\XmlWellFormedWriterAsync.cs (1)
885if (!char.IsSurrogatePair(highChar, lowChar))
System\Xml\XmlCharType.cs (1)
154if ((uint)(i + 1) >= (uint)str.Length || !char.IsSurrogatePair(c, str[i + 1]))