11 references to Utf16SequenceLength
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\RuneExtensions.cs (1)
18return rune.Utf16SequenceLength == 1 && TryGetEscapeCharacter((char)rune.Value, out escapedChar);
System.Formats.Tar (1)
System\Formats\Tar\TarHeader.Write.cs (1)
1272utf16TruncatedLength += rune.Utf16SequenceLength;
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Text\DecoderFallback.cs (1)
256totalCharCount += thisRune.Utf16SequenceLength;
src\libraries\System.Private.CoreLib\src\System\Text\DecoderNLS.cs (1)
241charCount = value.Utf16SequenceLength;
src\libraries\System.Private.CoreLib\src\System\Text\EncoderFallback.cs (1)
213for (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)
227int 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)
231srcIdx += scalarValue.Utf16SequenceLength;