57 references to Left
Microsoft.CodeAnalysis.CSharp (57)
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (3)
739
return leftWins ? BetterResult.
Left
: BetterResult.Right;
778
return leftWins ? BetterResult.
Left
: BetterResult.Right;
867
if (result != BetterResult.
Left
&& result != BetterResult.Equal)
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (14)
1113
if (better == BetterResult.
Left
)
1152
else if (better != BetterResult.
Left
)
1169
if (better != BetterResult.
Left
)
1185
return (op1.Priority.GetValueOrDefault() < op2.Priority.GetValueOrDefault()) ? BetterResult.
Left
: BetterResult.Right;
1210
if (leftBetter == BetterResult.
Left
&& rightBetter != BetterResult.Right ||
1211
leftBetter != BetterResult.Right && rightBetter == BetterResult.
Left
)
1213
return BetterResult.
Left
;
1216
if (leftBetter == BetterResult.Right && rightBetter != BetterResult.
Left
||
1217
leftBetter != BetterResult.
Left
&& rightBetter == BetterResult.Right)
1252
if (result == BetterResult.
Left
|| result == BetterResult.Right)
1269
return BetterResult.
Left
;
1278
valOverInPreference = BetterResult.
Left
;
1297
valOverInPreference = BetterResult.
Left
;
1302
if (valOverInPreference == BetterResult.
Left
)
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (6)
118
if (better == BetterResult.
Left
)
156
else if (better != BetterResult.
Left
)
173
if (better != BetterResult.
Left
)
190
if (better == BetterResult.
Left
|| better == BetterResult.Right)
224
return BetterResult.
Left
;
231
return BetterResult.
Left
;
Binder\Semantics\OverloadResolution\OverloadResolution.cs (34)
1802
else if (better != BetterResult.
Left
)
1824
if (better != BetterResult.
Left
)
1987
if (better == BetterResult.
Left
)
2026
results[i] = BetterResult.
Left
== BetterFunctionMember(results[notBestIdx], results[i], arguments.Arguments, ref useSiteInfo)
2086
return BetterResult.
Left
;
2101
return hasAnyRefOmittedArgument1 ? BetterResult.Right : BetterResult.
Left
;
2256
Debug.Assert(result == BetterResult.
Left
|| result == BetterResult.Right);
2350
return BetterResult.
Left
;
2359
return BetterResult.
Left
;
2375
return BetterResult.
Left
;
2388
return BetterResult.
Left
;
2411
return BetterResult.
Left
;
2428
return BetterResult.
Left
;
2488
return BetterResult.
Left
;
2502
return (m1ModifierCount < m2ModifierCount) ? BetterResult.
Left
: BetterResult.Right;
2629
valOverInOrRefInterpolatedHandlerPreference = BetterResult.
Left
;
2634
if (valOverInOrRefInterpolatedHandlerPreference == BetterResult.
Left
)
2737
return BetterResult.
Left
;
2863
return conv1.Kind == ConversionKind.Identity ? BetterResult.
Left
: BetterResult.Neither;
2922
return BetterResult.
Left
;
2933
return BetterResult.
Left
;
2949
okToDowngradeToNeither = lambdaOpt != null && CanDowngradeConversionFromLambdaToNeither(BetterResult.
Left
, lambdaOpt, t1, t2, ref useSiteInfo, false);
2950
return BetterResult.
Left
;
2961
return BetterResult.
Left
;
2979
return BetterResult.
Left
;
3000
return BetterResult.
Left
;
3048
return BetterResult.
Left
;
3118
return BetterResult.
Left
;
3451
okToDowngradeToNeither = lambdaOpt != null && CanDowngradeConversionFromLambdaToNeither(BetterResult.
Left
, lambdaOpt, type1, type2, ref useSiteInfo, true);
3452
return BetterResult.
Left
;
3508
delegateResult = BetterResult.
Left
;
3530
if (delegateResult == BetterResult.
Left
)
3565
return BetterResult.
Left
;
3644
Debug.Assert(currentResult == BetterResult.
Left
);