8 references to AreEquivalent
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpSyntaxNode.cs (1)
517return SyntaxFactory.AreEquivalent(this, (CSharpSyntaxNode)node, topLevel);
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Analyzers\CSharp\Analyzers\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessAnalyzer.cs (2)
150if (SyntaxFactory.AreEquivalent(expression, invocationExpression.Expression, topLevel: false)) 155SyntaxFactory.AreEquivalent(expression, memberAccessExpression.Expression, topLevel: false))
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpIsAndCastCheckDiagnosticAnalyzer.cs (2)
201if (!SyntaxFactory.AreEquivalent(isExpression.Left.WalkDownParentheses(), castExpression.Expression.WalkDownParentheses(), topLevel: false) || 202!SyntaxFactory.AreEquivalent(isExpression.Right.WalkDownParentheses(), castExpression.Type, topLevel: false))
Microsoft.CodeAnalysis.CSharp.Features (3)
IntroduceVariable\CSharpIntroduceVariableService_IntroduceField.cs (1)
167if (!AreEquivalent(oldMembers[i], newMembers[i], topLevel: false))
src\Analyzers\CSharp\Analyzers\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessAnalyzer.cs (2)
150if (SyntaxFactory.AreEquivalent(expression, invocationExpression.Expression, topLevel: false)) 155SyntaxFactory.AreEquivalent(expression, memberAccessExpression.Expression, topLevel: false))