8 references to AreEquivalent
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpSyntaxNode.cs (1)
517
return SyntaxFactory.
AreEquivalent
(this, (CSharpSyntaxNode)node, topLevel);
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Analyzers\CSharp\Analyzers\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessAnalyzer.cs (2)
150
if (SyntaxFactory.
AreEquivalent
(expression, invocationExpression.Expression, topLevel: false))
155
SyntaxFactory.
AreEquivalent
(expression, memberAccessExpression.Expression, topLevel: false))
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpIsAndCastCheckDiagnosticAnalyzer.cs (2)
201
if (!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)
167
if (!
AreEquivalent
(oldMembers[i], newMembers[i], topLevel: false))
src\Analyzers\CSharp\Analyzers\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessAnalyzer.cs (2)
150
if (SyntaxFactory.
AreEquivalent
(expression, invocationExpression.Expression, topLevel: false))
155
SyntaxFactory.
AreEquivalent
(expression, memberAccessExpression.Expression, topLevel: false))