5 references to AreEquivalent
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpSyntaxTree.cs (1)
128
return SyntaxFactory.
AreEquivalent
(this, tree, topLevel);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Syntax\SyntaxEquivalenceTests.cs (4)
18
Assert.True(SyntaxFactory.
AreEquivalent
(tree1, tree2, topLevel));
22
Assert.True(SyntaxFactory.
AreEquivalent
(tree1, tree3, topLevel));
27
Assert.False(SyntaxFactory.
AreEquivalent
(tree1, tree2, topLevel));
31
Assert.False(SyntaxFactory.
AreEquivalent
(tree1, tree3, topLevel));