1 write to VirtualChars
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxToken.cs (1)
42VirtualChars = virtualChars;
14 references to VirtualChars
Microsoft.CodeAnalysis.Workspaces (14)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxHelpers.cs (2)
13=> GetSpan(token1.VirtualChars[0], token2.VirtualChars.Last());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxNode.cs (3)
118start = Math.Min(token.VirtualChars[0].Span.Start, start); 119end = Math.Max(token.VirtualChars.Last().Span.End, end); 138if (child.Token.VirtualChars.Contains(virtualChar))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxToken.cs (9)
48public bool IsMissing => VirtualChars.IsEmpty; 67virtualChars.HasValue ? virtualChars.Value : VirtualChars, 74=> EmbeddedSyntaxHelpers.GetSpan(this.VirtualChars); 78if (LeadingTrivia.Length == 0 && VirtualChars.Length == 0 && TrailingTrivia.Length == 0) 83Math.Min(VirtualChars.Length == 0 ? int.MaxValue : VirtualChars[0].Span.Start, 88Math.Max(VirtualChars.Length == 0 ? int.MinValue : VirtualChars[^1].Span.End, 123sb.Append(VirtualChars.CreateString());