8 references to AreEquivalent
Microsoft.CodeAnalysis.CodeStyle (8)
src\Analyzers\Core\Analyzers\UseCoalesceExpression\AbstractUseCoalesceExpressionForIfNullCheckDiagnosticAnalyzer.cs (2)
232if (!syntaxFacts.AreEquivalent(topAssignmentLeft, checkedExpression)) 255return syntaxFacts.AreEquivalent(innerAssignmentLeft, checkedExpression);
src\Analyzers\Core\Analyzers\UseCoalesceExpression\AbstractUseCoalesceExpressionForNullableTernaryConditionalCheckDiagnosticAnalyzer.cs (1)
96if (!syntaxFacts.AreEquivalent(conditionExpression, whenPartExpression))
src\Analyzers\Core\Analyzers\UseCoalesceExpression\AbstractUseCoalesceExpressionForTernaryConditionalCheckDiagnosticAnalyzer.cs (1)
90if (!syntaxFacts.AreEquivalent(
src\Analyzers\Core\Analyzers\UseCollectionInitializer\UpdateExpressionState.cs (1)
95return SyntaxFacts.AreEquivalent(
src\Analyzers\Core\Analyzers\UseCompoundAssignment\AbstractUseCompoundAssignmentDiagnosticAnalyzer.cs (1)
115if (!_syntaxFacts.AreEquivalent(assignmentLeft, binaryLeft))
src\Analyzers\Core\Analyzers\UseConditionalExpression\ForAssignment\UseConditionalExpressionForAssignmentHelpers.cs (1)
50!syntaxFacts.AreEquivalent(trueAssignment.Target.Syntax, falseAssignment.Target.Syntax))
src\Analyzers\Core\Analyzers\UseNullPropagation\AbstractUseNullPropagationDiagnosticAnalyzer.cs (1)
345if (syntaxFacts.AreEquivalent(unwrapped, expressionToMatch))