11 references to Utf16SequenceLength
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\RuneExtensions.cs (1)
18
return rune.
Utf16SequenceLength
== 1 && TryGetEscapeCharacter((char)rune.Value, out escapedChar);
System.Formats.Tar (1)
System\Formats\Tar\TarHeader.Write.cs (1)
1272
utf16TruncatedLength += rune.
Utf16SequenceLength
;
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Text\DecoderFallback.cs (1)
256
totalCharCount += thisRune.
Utf16SequenceLength
;
src\libraries\System.Private.CoreLib\src\System\Text\DecoderNLS.cs (1)
241
charCount = value.
Utf16SequenceLength
;
src\libraries\System.Private.CoreLib\src\System\Text\EncoderFallback.cs (1)
213
for (int i = 0; i < thisRune.
Utf16SequenceLength
; i++)
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (1)
1082
/// The <see cref="
Utf16SequenceLength
"/> property can be queried ahead of time to determine
src\libraries\System.Private.CoreLib\src\System\Text\RunePosition.cs (1)
227
int length = rune.
Utf16SequenceLength
;
src\libraries\System.Private.CoreLib\src\System\Text\SpanRuneEnumerator.cs (1)
50
_remaining = _remaining.Slice(_current.
Utf16SequenceLength
);
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilderRuneEnumerator.cs (1)
64
_nextIndex += _current.
Utf16SequenceLength
;
src\libraries\System.Private.CoreLib\src\System\Text\StringRuneEnumerator.cs (1)
48
_nextIndex += _current.
Utf16SequenceLength
;
System.Text.Encodings.Web (1)
System\Text\Encodings\Web\OptimizedInboxTextEncoder.cs (1)
231
srcIdx += scalarValue.
Utf16SequenceLength
;