8 references to AreEquivalent
Microsoft.CodeAnalysis.CodeStyle (8)
src\Analyzers\Core\Analyzers\UseCoalesceExpression\AbstractUseCoalesceExpressionForIfNullCheckDiagnosticAnalyzer.cs (2)
232
if (!syntaxFacts.
AreEquivalent
(topAssignmentLeft, checkedExpression))
255
return syntaxFacts.
AreEquivalent
(innerAssignmentLeft, checkedExpression);
src\Analyzers\Core\Analyzers\UseCoalesceExpression\AbstractUseCoalesceExpressionForNullableTernaryConditionalCheckDiagnosticAnalyzer.cs (1)
96
if (!syntaxFacts.
AreEquivalent
(conditionExpression, whenPartExpression))
src\Analyzers\Core\Analyzers\UseCoalesceExpression\AbstractUseCoalesceExpressionForTernaryConditionalCheckDiagnosticAnalyzer.cs (1)
90
if (!syntaxFacts.
AreEquivalent
(
src\Analyzers\Core\Analyzers\UseCollectionInitializer\UpdateExpressionState.cs (1)
95
return SyntaxFacts.
AreEquivalent
(
src\Analyzers\Core\Analyzers\UseCompoundAssignment\AbstractUseCompoundAssignmentDiagnosticAnalyzer.cs (1)
115
if (!_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)
345
if (syntaxFacts.
AreEquivalent
(unwrapped, expressionToMatch))