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)
2137BetterResult result = BetterResult.Neither; 2197if (r == BetterResult.Neither) 2214if (result == BetterResult.Neither) 2237result = BetterResult.Neither; 2258result = BetterResult.Neither; 2271if (result != BetterResult.Neither) 2476if (result != BetterResult.Neither) 2516if (result != BetterResult.Neither) 2547if (betterResult != BetterResult.Neither) 2555return BetterResult.Neither; 2609BetterResult valOverInOrRefInterpolatedHandlerPreference = BetterResult.Neither; 2633return BetterResult.Neither; 2644return BetterResult.Neither; 2705var result = BetterResult.Neither; 2709if (r == BetterResult.Neither) 2713else if (result == BetterResult.Neither) 2723return BetterResult.Neither; 2750return BetterResult.Neither; 2784return BetterResult.Neither; 2799return BetterResult.Neither; 2871return conv1.Kind == ConversionKind.Identity ? BetterResult.Left : BetterResult.Neither; 2875return conv2.Kind == ConversionKind.Identity ? BetterResult.Right : BetterResult.Neither; 2880return BetterResult.Neither; 2895return BetterResult.Neither; 2907return BetterResult.Neither; 2928return BetterResult.Neither; 3028return BetterResult.Neither; 3088var betterResult = BetterResult.Neither; 3109if (elementBetterResult == BetterResult.Neither) 3114if (betterResult != BetterResult.Neither) 3118return BetterResult.Neither; 3147return BetterResult.Neither; 3420return BetterResult.Neither; 3454return BetterResult.Neither; 3468return BetterResult.Neither; 3496return BetterResult.Neither; 3501return BetterResult.Neither; 3522BetterResult delegateResult = BetterResult.Neither; 3538if (delegateResult == BetterResult.Neither) 3555return BetterResult.Neither; 3560return BetterResult.Neither; 3569return BetterResult.Neither; 3574return BetterResult.Neither; 3594return BetterResult.Neither;