1 write to SurrogateChar
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualChar.cs (1)
78SurrogateChar = surrogateChar;
16 references to SurrogateChar
Microsoft.CodeAnalysis.CodeStyle (16)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualChar.cs (16)
33/// <see cref="SurrogateChar"/>. 87public int Value => SurrogateChar != 0 ? SurrogateChar : Rune.Value; 90=> SurrogateChar != 0 ? char.IsDigit(SurrogateChar) : Rune.IsDigit(Rune); 93=> SurrogateChar != 0 ? char.IsLetter(SurrogateChar) : Rune.IsLetter(Rune); 96=> SurrogateChar != 0 ? char.IsLetterOrDigit(SurrogateChar) : Rune.IsLetterOrDigit(Rune); 99=> SurrogateChar != 0 ? char.IsWhiteSpace(SurrogateChar) : Rune.IsWhiteSpace(Rune); 102public int Utf16SequenceLength => SurrogateChar != 0 ? 1 : Rune.Utf16SequenceLength; 118=> SurrogateChar != 0 ? SurrogateChar.ToString() : Rune.ToString(); 122if (SurrogateChar != 0) 124builder.Append(SurrogateChar);