10 references to ObjectEqual
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Operators.cs (3)
642
resultOperatorKind is BinaryOperatorKind.
ObjectEqual
or BinaryOperatorKind.ObjectNotEqual &&
721
bool isObjectEquality = signature.Kind == BinaryOperatorKind.
ObjectEqual
|| signature.Kind == BinaryOperatorKind.ObjectNotEqual;
1981
case BinaryOperatorKind.
ObjectEqual
:
Compilation\BuiltInOperators.cs (1)
490
(int)BinaryOperatorKind.
ObjectEqual
,
Compiler\MethodBodySynthesizer.cs (1)
498
operatorKind: BinaryOperatorKind.
ObjectEqual
,
Lowering\DiagnosticsPass_Warnings.cs (2)
327
if (node.OperatorKind == BinaryOperatorKind.
ObjectEqual
|| node.OperatorKind == BinaryOperatorKind.ObjectNotEqual)
362
string opName = (oldOperatorKind == BinaryOperatorKind.
ObjectEqual
) ? WellKnownMemberNames.EqualityOperatorName : WellKnownMemberNames.InequalityOperatorName;
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
291
BinaryOperatorKind.
ObjectEqual
,
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
462
BinaryOperatorKind.
ObjectEqual
,
Lowering\SyntheticBoundNodeFactory.cs (1)
669
return Binary(BinaryOperatorKind.
ObjectEqual
, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Boolean), left, right);