1 write to SurrogateChar
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualChar.cs (1)
79
SurrogateChar
= surrogateChar;
17 references to SurrogateChar
Microsoft.CodeAnalysis.ExternalAccess.AspNetCore (1)
EmbeddedLanguages\AspNetCoreVirtualChar.cs (1)
31
/// <inheritdoc cref="VirtualChar.
SurrogateChar
"/>
Microsoft.CodeAnalysis.Workspaces (16)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualChar.cs (16)
34
/// <see cref="
SurrogateChar
"/>.
88
public int Value =>
SurrogateChar
!= 0 ?
SurrogateChar
: Rune.Value;
91
=>
SurrogateChar
!= 0 ? char.IsDigit(
SurrogateChar
) : Rune.IsDigit(Rune);
94
=>
SurrogateChar
!= 0 ? char.IsLetter(
SurrogateChar
) : Rune.IsLetter(Rune);
97
=>
SurrogateChar
!= 0 ? char.IsLetterOrDigit(
SurrogateChar
) : Rune.IsLetterOrDigit(Rune);
100
=>
SurrogateChar
!= 0 ? char.IsWhiteSpace(
SurrogateChar
) : Rune.IsWhiteSpace(Rune);
103
public int Utf16SequenceLength =>
SurrogateChar
!= 0 ? 1 : Rune.Utf16SequenceLength;
119
=>
SurrogateChar
!= 0 ?
SurrogateChar
.ToString() : Rune.ToString();
123
if (
SurrogateChar
!= 0)
125
builder.Append(
SurrogateChar
);