12 references to DecodeFromUtf16
Microsoft.ML.Tokenizers.Tests (1)
src\Microsoft.ML.Tokenizers\Utils\Helpers.netcoreapp.cs (1)
83
Rune.
DecodeFromUtf16
(text.Slice(textIndex), out Rune rune, out int charsConsumed);
Microsoft.Net.Http.Headers (1)
ContentDispositionHeaderValue.cs (1)
645
Rune.
DecodeFromUtf16
(remaining.Slice(i), out Rune rune, out var runeLength);
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Icu.cs (1)
828
if (Rune.
DecodeFromUtf16
(text, out Rune result, out int charsConsumed) != OperationStatus.Done)
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyName.cs (1)
335
if (Rune.
DecodeFromUtf16
(stringToEscape, out Rune r, out int charsConsumed) != OperationStatus.Done)
src\libraries\System.Private.CoreLib\src\System\Text\Encoding.Internal.cs (2)
328
if (Rune.
DecodeFromUtf16
(chars, out Rune firstScalarValue, out int charsConsumedThisIteration) == OperationStatus.NeedMoreData
605
switch (Rune.
DecodeFromUtf16
(chars, out Rune firstScalarValue, out int charsConsumedThisIteration))
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (1)
570
/// This method is very similar to <see cref="
DecodeFromUtf16
(ReadOnlySpan{char}, out Rune, out int)"/>, but it allows
src\libraries\System.Private.CoreLib\src\System\Text\Unicode\TextSegmentationUtility.cs (1)
21
private static readonly DecodeFirstRune<char> _utf16Decoder = Rune.
DecodeFromUtf16
;
System.Private.Uri (1)
System\UriHelper.cs (1)
266
if (Rune.
DecodeFromUtf16
(stringToEscape, out Rune r, out int charsConsumed) != OperationStatus.Done)
System.Text.Encodings.Web (2)
System\Text\Encodings\Web\TextEncoder.cs (2)
67
if (Rune.
DecodeFromUtf16
(utf16ScratchBuffer, out Rune nextScalarValue, out int scalarUtf16CodeUnitCount) != OperationStatus.Done)
459
OperationStatus status = Rune.
DecodeFromUtf16
(source, out Rune scalarValue, out int charsConsumedJustNow);
System.Text.Json (1)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.StringSegment.cs (1)
74
switch (Rune.
DecodeFromUtf16
(combinedBuffer, out _, out int charsConsumed))