4 references to AreEquivalent
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Analyzers\CSharp\Analyzers\UseCompoundAssignment\CSharpUseCompoundCoalesceAssignmentDiagnosticAnalyzer.cs (2)
82
if (!syntaxFacts.
AreEquivalent
(coalesceLeft, assignment.Left))
145
if (!syntaxFacts.
AreEquivalent
(testedExpression, assignment.Left))
src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseRangeOperatorDiagnosticAnalyzer.cs (1)
183
if (CSharpSyntaxFacts.Instance.
AreEquivalent
(startOperation.Syntax, subtraction.RightOperand.Syntax))
src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\Helpers.cs (1)
45
CSharpSyntaxFacts.Instance.
AreEquivalent
(instance.Syntax, propertyRef.Instance.Syntax);