25 references to UnderlyingNode
Microsoft.CodeAnalysis (25)
Syntax\SyntaxDiffer.cs (6)
476
Debug.Assert(n1.
UnderlyingNode
is object);
477
_nodeSimilaritySet.Add(n1.
UnderlyingNode
);
487
Debug.Assert(n2.
UnderlyingNode
is object);
488
if (_nodeSimilaritySet.Contains(n2.
UnderlyingNode
))
508
return node1.
UnderlyingNode
== node2.
UnderlyingNode
;
Syntax\SyntaxListBuilder.cs (1)
128
_nodes[dst].Value = list[i].
UnderlyingNode
;
Syntax\SyntaxNodeOrToken.cs (7)
136
Debug.Assert(
UnderlyingNode
is not null);
137
return
UnderlyingNode
;
754
var thisUnderlying = this.
UnderlyingNode
;
755
var otherUnderlying = other.
UnderlyingNode
;
764
=> this.
UnderlyingNode
!= null && this.
UnderlyingNode
== other.
UnderlyingNode
;
Syntax\SyntaxNodeOrTokenList.cs (8)
86
? Syntax.InternalSyntax.SyntaxList.List([nodesAndTokens[0].
UnderlyingNode
]).CreateRed()
88
case 2: return Syntax.InternalSyntax.SyntaxList.List(nodesAndTokens[0].
UnderlyingNode
!, nodesAndTokens[1].
UnderlyingNode
!).CreateRed();
89
case 3: return Syntax.InternalSyntax.SyntaxList.List(nodesAndTokens[0].
UnderlyingNode
!, nodesAndTokens[1].
UnderlyingNode
!, nodesAndTokens[2].
UnderlyingNode
!).CreateRed();
94
copy[i].Value = nodesAndTokens[i].
UnderlyingNode
!;
281
array[arrayOffset + i] = this[i + offset].
UnderlyingNode
;
Syntax\SyntaxNodeOrTokenListBuilder.cs (3)
56
_nodes[index] = value.
UnderlyingNode
;
83
RoslynDebug.Assert(item.
UnderlyingNode
is object);
84
this.Add(item.
UnderlyingNode
);