11 references to IsEquivalentTo
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
CSharpUseTupleSwapDiagnosticAnalyzer.cs (2)
97if (!localDeclarationExprA.IsEquivalentTo(firstAssignmentExprA, topLevel: false)) 100if (!firstAssignmentExprB.IsEquivalentTo(secondAssignmentExprB, topLevel: false))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
MisplacedUsingDirectivesCodeFixProvider.cs (1)
285if (seenUsings.Any(seenUsingDirective => seenUsingDirective.IsEquivalentTo(usingDirective, topLevel: false)))
Microsoft.CodeAnalysis.CSharp.Features (3)
CSharpUseTupleSwapDiagnosticAnalyzer.cs (2)
97if (!localDeclarationExprA.IsEquivalentTo(firstAssignmentExprA, topLevel: false)) 100if (!firstAssignmentExprB.IsEquivalentTo(secondAssignmentExprB, topLevel: false))
MisplacedUsingDirectivesCodeFixProvider.cs (1)
285if (seenUsings.Any(seenUsingDirective => seenUsingDirective.IsEquivalentTo(usingDirective, topLevel: false)))
Microsoft.CodeAnalysis.Features (1)
SolutionCrawler\AbstractDocumentDifferenceService.cs (1)
128if (!oldMember.IsEquivalentTo(newMember, topLevel: true))
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\RemoteDocumentDifferenceService.cs (1)
67if (oldRoot.IsEquivalentTo(newRoot, topLevel: true))
Microsoft.CodeAnalysis.Workspaces (2)
Shared\Extensions\SemanticEquivalence.cs (1)
39if (!node1.IsEquivalentTo(node2, topLevel: false))
Workspace\Solution\DocumentState.cs (1)
572return oldRoot.IsEquivalentTo(newRoot, topLevel: true) ? oldTreeAndVersion.Version : newTextVersion;
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Snippets\SnippetExpansionClient.cs (1)
167if (!existingUsings.Any(u => u.IsEquivalentTo(candidateUsing, topLevel: false)))