1 write to Rune
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\VirtualChars\VirtualChar.cs (1)
82Rune = rune;
21 references to Rune
Microsoft.AspNetCore.App.Analyzers (21)
Infrastructure\VirtualChars\IVirtualCharService.cs (1)
50/// VirtualChar in the result array with a matching <see cref="VirtualChar.Rune"/> property.
Infrastructure\VirtualChars\VirtualChar.cs (20)
28/// The value of this <see cref="VirtualChar"/> as a <see cref="Rune"/> if such a representation is possible. 29/// <see cref="Rune"/>s can represent Unicode codepoints that can appear in a <see cref="string"/> except for 38/// cref="Rune"/>. If <see cref="Rune"/> is not <see cref="Rune.ReplacementChar"/>, this will be <c>0</c>. 57/// if <paramref name="surrogateChar"/> is not actually a surrogate character. The resultant <see cref="Rune"/> 67return new VirtualChar(rune: Rune.ReplacementChar, surrogateChar, span); 72if (!(surrogateChar == 0 || rune == Rune.ReplacementChar)) 90/// cref="Rune"/>. 92public int Value => SurrogateChar != 0 ? SurrogateChar : Rune.Value; 95=> SurrogateChar != 0 ? char.IsDigit(SurrogateChar) : Rune.IsDigit(Rune); 98=> SurrogateChar != 0 ? char.IsLetterOrDigit(SurrogateChar) : Rune.IsLetterOrDigit(Rune); 101=> SurrogateChar != 0 ? char.IsWhiteSpace(SurrogateChar) : Rune.IsWhiteSpace(Rune); 121=> Rune == other.Rune && 128hashCode = hashCode * -1521134295 + Rune.GetHashCode(); 140=> SurrogateChar != 0 ? SurrogateChar.ToString() : Rune.ToString(); 152var length = Rune.EncodeToUtf16(chars);