7 references to EncodeToUtf16
GenerateDocumentationAndConfigFiles (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualChar.cs (1)
130var length = Rune.EncodeToUtf16(chars);
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualChar.cs (1)
130var length = Rune.EncodeToUtf16(chars);
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (3)
165int charCount = value.EncodeToUtf16(valueAsUtf16); 1037int charCount = value.EncodeToUtf16(valueAsUtf16); 1409int charCount = value.EncodeToUtf16(valueAsUtf16);
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (1)
233int charCount = rune.EncodeToUtf16(original);
Test.Utilities (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualChar.cs (1)
130var length = Rune.EncodeToUtf16(chars);