8 references to IsEquivalentTo
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticEquivalence.cs (1)
39if (!node1.IsEquivalentTo(node2, topLevel: false))
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\UseTupleSwap\CSharpUseTupleSwapDiagnosticAnalyzer.cs (2)
95if (!localDeclarationExprA.IsEquivalentTo(firstAssignmentExprA, topLevel: false)) 98if (!firstAssignmentExprB.IsEquivalentTo(secondAssignmentExprB, topLevel: false))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\MisplacedUsingDirectives\MisplacedUsingDirectivesCodeFixProvider.cs (1)
283if (seenUsings.Any(seenUsingDirective => seenUsingDirective.IsEquivalentTo(usingDirective, topLevel: false)))
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\UseTupleSwap\CSharpUseTupleSwapDiagnosticAnalyzer.cs (1)
98if (!firstAssignmentExprB.IsEquivalentTo(secondAssignmentExprB, topLevel: false))
src\Analyzers\CSharp\CodeFixes\MisplacedUsingDirectives\MisplacedUsingDirectivesCodeFixProvider.cs (1)
283if (seenUsings.Any(seenUsingDirective => seenUsingDirective.IsEquivalentTo(usingDirective, topLevel: false)))
Microsoft.CodeAnalysis.Features (1)
SolutionCrawler\AbstractDocumentDifferenceService.cs (1)
128if (!oldMember.IsEquivalentTo(newMember, topLevel: true))
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticEquivalence.cs (1)
39if (!node1.IsEquivalentTo(node2, topLevel: false))