1 write to SurrogateChar
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualChar.cs (1)
78SurrogateChar = surrogateChar;
19 references to SurrogateChar
Microsoft.CodeAnalysis.CSharp.Features (1)
ConvertToRawString\ConvertToRawStringHelpers.cs (1)
108if (ch.SurrogateChar != 0)
Microsoft.CodeAnalysis.ExternalAccess.AspNetCore (2)
EmbeddedLanguages\AspNetCoreVirtualChar.cs (2)
30/// <inheritdoc cref="VirtualChar.SurrogateChar"/> 31public char SurrogateChar => VirtualChar.SurrogateChar;
Microsoft.CodeAnalysis.Workspaces (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);