51 references to Neither
Microsoft.CodeAnalysis.CSharp (51)
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (3)
737return BetterResult.Neither; 776return BetterResult.Neither; 831else if (result == BetterResult.Neither)
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (3)
1286valOverInPreference = BetterResult.Neither; 1293return BetterResult.Neither; 1304return BetterResult.Neither;
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (1)
238return BetterResult.Neither;
Binder\Semantics\OverloadResolution\OverloadResolution.cs (44)
2129BetterResult result = BetterResult.Neither; 2189if (r == BetterResult.Neither) 2206if (result == BetterResult.Neither) 2229result = BetterResult.Neither; 2250result = BetterResult.Neither; 2263if (result != BetterResult.Neither) 2468if (result != BetterResult.Neither) 2508if (result != BetterResult.Neither) 2539if (betterResult != BetterResult.Neither) 2547return BetterResult.Neither; 2601BetterResult valOverInOrRefInterpolatedHandlerPreference = BetterResult.Neither; 2625return BetterResult.Neither; 2636return BetterResult.Neither; 2697var result = BetterResult.Neither; 2701if (r == BetterResult.Neither) 2705else if (result == BetterResult.Neither) 2715return BetterResult.Neither; 2742return BetterResult.Neither; 2776return BetterResult.Neither; 2791return BetterResult.Neither; 2863return conv1.Kind == ConversionKind.Identity ? BetterResult.Left : BetterResult.Neither; 2867return conv2.Kind == ConversionKind.Identity ? BetterResult.Right : BetterResult.Neither; 2872return BetterResult.Neither; 2887return BetterResult.Neither; 2899return BetterResult.Neither; 2920return BetterResult.Neither; 3007return BetterResult.Neither; 3067var betterResult = BetterResult.Neither; 3088if (elementBetterResult == BetterResult.Neither) 3093if (betterResult != BetterResult.Neither) 3097return BetterResult.Neither; 3126return BetterResult.Neither; 3399return BetterResult.Neither; 3433return BetterResult.Neither; 3447return BetterResult.Neither; 3475return BetterResult.Neither; 3480return BetterResult.Neither; 3501BetterResult delegateResult = BetterResult.Neither; 3517if (delegateResult == BetterResult.Neither) 3534return BetterResult.Neither; 3539return BetterResult.Neither; 3548return BetterResult.Neither; 3553return BetterResult.Neither; 3573return BetterResult.Neither;