5 references to IsEquivalentTo
Microsoft.CodeAnalysis (5)
Syntax\GreenNode.cs (1)
878if (node1Child != null && node2Child != null && !node1Child.IsEquivalentTo(node2Child))
Syntax\SyntaxNode.cs (1)
348return this.Green.IsEquivalentTo(other.Green);
Syntax\SyntaxNodeOrToken.cs (1)
757return (thisUnderlying == otherUnderlying) || (thisUnderlying != null && thisUnderlying.IsEquivalentTo(otherUnderlying));
Syntax\SyntaxToken.cs (1)
684(Node != null && token.Node != null && Node.IsEquivalentTo(token.Node));
Syntax\SyntaxTrivia.cs (1)
433(UnderlyingNode != null && trivia.UnderlyingNode != null && UnderlyingNode.IsEquivalentTo(trivia.UnderlyingNode));