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