1 write to Node
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxNodeOrToken.cs (1)
21Node = node;
11 references to Node
Microsoft.CodeAnalysis.Workspaces (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSeparatedSyntaxNodeList.cs (3)
46Debug.Assert(NodesAndTokens[i].Node is EmbeddedSyntaxNode<TSyntaxKind, TSyntaxNode>); 69RoslynDebug.AssertNotNull(nodeOrToken.Node); 70return (TDerivedNode)nodeOrToken.Node;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxNode.cs (3)
111child.Node.GetSpan(ref start, ref end); 131if (child.Node.Contains(virtualChar)) 187child.Node.WriteTo(sb, currentLeading, curentTrailing);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxNodeOrToken.cs (5)
34Debug.Assert(Node == null); 38public TSyntaxKind Kind => Node?.Kind ?? Token.Kind; 40[MemberNotNullWhen(true, nameof(Node))] 41public bool IsNode => Node != null; 44=> IsNode ? Node.GetFullSpan() : _token.GetFullSpan();