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