1 write to SurrogateChar
Microsoft.CodeAnalysis.Workspaces (1)
VirtualChar.cs (1)
79SurrogateChar = surrogateChar;
19 references to SurrogateChar
Microsoft.CodeAnalysis.CSharp.Features (1)
ConvertToRawString\ConvertToRawStringHelpers.cs (1)
84if (ch.SurrogateChar != 0)
Microsoft.CodeAnalysis.ExternalAccess.AspNetCore (2)
EmbeddedLanguages\AspNetCoreVirtualChar.cs (2)
31/// <inheritdoc cref="VirtualChar.SurrogateChar"/> 32public char SurrogateChar => VirtualChar.SurrogateChar;
Microsoft.CodeAnalysis.Workspaces (16)
VirtualChar.cs (16)
34/// <see cref="SurrogateChar"/>. 88public int Value => SurrogateChar != 0 ? SurrogateChar : Rune.Value; 91=> SurrogateChar != 0 ? char.IsDigit(SurrogateChar) : Rune.IsDigit(Rune); 94=> SurrogateChar != 0 ? char.IsLetterOrDigit(SurrogateChar) : Rune.IsLetterOrDigit(Rune); 97=> SurrogateChar != 0 ? char.IsWhiteSpace(SurrogateChar) : Rune.IsWhiteSpace(Rune); 118SurrogateChar == other.SurrogateChar && 125hashCode = hashCode * -1521134295 + SurrogateChar.GetHashCode(); 136=> SurrogateChar != 0 ? SurrogateChar.ToString() : Rune.ToString(); 140if (SurrogateChar != 0) 142builder.Append(SurrogateChar);