3 instantiations of BinaryOperatorAnalysisResult
Microsoft.CodeAnalysis.CSharp (3)
Binder\Semantics\Operators\BinaryOperatorAnalysisResult.cs (3)
55return new BinaryOperatorAnalysisResult(OperatorAnalysisResultKind.Applicable, signature, leftConversion, rightConversion); 60return new BinaryOperatorAnalysisResult(OperatorAnalysisResultKind.Inapplicable, signature, leftConversion, rightConversion); 65return new BinaryOperatorAnalysisResult(OperatorAnalysisResultKind.Worse, this.Signature, this.LeftConversion, this.RightConversion);
31 references to BinaryOperatorAnalysisResult
Microsoft.CodeAnalysis.CSharp (31)
Binder\Binder_Operators.cs (7)
123BinaryOperatorAnalysisResult best = this.BinaryOperatorOverloadResolution(kind, isChecked: CheckOverflowAtRuntime, left, right, node, diagnostics, out resultKind, out originalUserDefinedOperators); 580BinaryOperatorAnalysisResult best; 700out BinaryOperatorSignature resultSignature, out BinaryOperatorAnalysisResult best) 965var best = this.BinaryOperatorOverloadResolution(kind, isChecked: CheckOverflowAtRuntime, left, right, node, diagnostics, out lookupResult, out originalUserDefinedOperators); 1306private BinaryOperatorAnalysisResult BinaryOperatorOverloadResolution( 1320return default(BinaryOperatorAnalysisResult); 1328var possiblyBest = result.Best;
Binder\Semantics\Operators\BinaryOperatorAnalysisResult.cs (3)
53public static BinaryOperatorAnalysisResult Applicable(BinaryOperatorSignature signature, Conversion leftConversion, Conversion rightConversion) 58public static BinaryOperatorAnalysisResult Inapplicable(BinaryOperatorSignature signature, Conversion leftConversion, Conversion rightConversion) 63public BinaryOperatorAnalysisResult Worse()
Binder\Semantics\Operators\BinaryOperatorEasyOut.cs (1)
320result.Results.Add(BinaryOperatorAnalysisResult.Applicable(signature, leftConversion, rightConversion));
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (14)
110var rightOperators = ArrayBuilder<BinaryOperatorAnalysisResult>.GetInstance(); 160var rightOperators = ArrayBuilder<BinaryOperatorAnalysisResult>.GetInstance(); 212Dictionary<TypeSymbol, bool> lookedInInterfaces, ArrayBuilder<BinaryOperatorAnalysisResult> candidates) 253var results = ArrayBuilder<BinaryOperatorAnalysisResult>.GetInstance(); 706private void GetAllBuiltInOperators(BinaryOperatorKind kind, bool isChecked, BoundExpression left, BoundExpression right, ArrayBuilder<BinaryOperatorAnalysisResult> results, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo) 734results.Add(BinaryOperatorAnalysisResult.Applicable(op, convLeft, convRight)); 794ArrayBuilder<BinaryOperatorAnalysisResult> results, 804results.Add(BinaryOperatorAnalysisResult.Applicable(op, convLeft, convRight)); 809results.Add(BinaryOperatorAnalysisResult.Inapplicable(op, convLeft, convRight)); 815private static void AddDistinctOperators(ArrayBuilder<BinaryOperatorAnalysisResult> result, ArrayBuilder<BinaryOperatorAnalysisResult> additionalOperators) 857ArrayBuilder<BinaryOperatorAnalysisResult> results, 1073RemoveLowerPriorityMembers<BinaryOperatorAnalysisResult, MethodSymbol>(candidates); 1128ArrayBuilder<BinaryOperatorAnalysisResult> candidates,
Binder\Semantics\Operators\BinaryOperatorOverloadResolutionResult.cs (6)
15public readonly ArrayBuilder<BinaryOperatorAnalysisResult> Results; 19this.Results = new ArrayBuilder<BinaryOperatorAnalysisResult>(10); 54public BinaryOperatorAnalysisResult Best 58BinaryOperatorAnalysisResult best = default(BinaryOperatorAnalysisResult); 66return default(BinaryOperatorAnalysisResult);