28 references to OperatorAnalysisResultKind
Microsoft.CodeAnalysis.CSharp (28)
Binder\Semantics\Operators\BinaryOperatorAnalysisResult.cs (7)
19
public readonly
OperatorAnalysisResultKind
Kind;
21
private BinaryOperatorAnalysisResult(
OperatorAnalysisResultKind
kind, BinaryOperatorSignature signature, Conversion leftConversion, Conversion rightConversion)
31
get { return this.Kind ==
OperatorAnalysisResultKind
.Applicable; }
36
get { return this.Kind !=
OperatorAnalysisResultKind
.Undefined; }
55
return new BinaryOperatorAnalysisResult(
OperatorAnalysisResultKind
.Applicable, signature, leftConversion, rightConversion);
60
return new BinaryOperatorAnalysisResult(
OperatorAnalysisResultKind
.Inapplicable, signature, leftConversion, rightConversion);
65
return new BinaryOperatorAnalysisResult(
OperatorAnalysisResultKind
.Worse, this.Signature, this.LeftConversion, this.RightConversion);
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (5)
1088
if (candidates[index].Kind !=
OperatorAnalysisResultKind
.Inapplicable && index != bestIndex)
1099
if (candidates[i].Kind !=
OperatorAnalysisResultKind
.Applicable)
1107
if (candidates[j].Kind ==
OperatorAnalysisResultKind
.Inapplicable)
1134
if (candidates[index].Kind !=
OperatorAnalysisResultKind
.Applicable)
1163
if (candidates[index].Kind ==
OperatorAnalysisResultKind
.Inapplicable)
Binder\Semantics\Operators\BinaryOperatorOverloadResolutionResult.cs (2)
89
else if (CountKind(
OperatorAnalysisResultKind
.Applicable) > 1)
107
private int CountKind(
OperatorAnalysisResultKind
kind)
Binder\Semantics\Operators\UnaryOperatorAnalysisResult.cs (7)
15
public readonly
OperatorAnalysisResultKind
Kind;
17
private UnaryOperatorAnalysisResult(
OperatorAnalysisResultKind
kind, UnaryOperatorSignature signature, Conversion conversion)
26
get { return this.Kind ==
OperatorAnalysisResultKind
.Applicable; }
31
get { return this.Kind !=
OperatorAnalysisResultKind
.Undefined; }
38
return new UnaryOperatorAnalysisResult(
OperatorAnalysisResultKind
.Applicable, signature, conversion);
43
return new UnaryOperatorAnalysisResult(
OperatorAnalysisResultKind
.Inapplicable, signature, conversion);
48
return new UnaryOperatorAnalysisResult(
OperatorAnalysisResultKind
.Worse, this.Signature, this.Conversion);
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (5)
93
if (candidates[index].Kind !=
OperatorAnalysisResultKind
.Inapplicable && index != bestIndex)
104
if (candidates[i].Kind !=
OperatorAnalysisResultKind
.Applicable)
112
if (candidates[j].Kind ==
OperatorAnalysisResultKind
.Inapplicable)
138
if (candidates[index].Kind !=
OperatorAnalysisResultKind
.Applicable)
167
if (candidates[index].Kind ==
OperatorAnalysisResultKind
.Inapplicable)
Binder\Semantics\Operators\UnaryOperatorOverloadResolutionResult.cs (2)
89
else if (CountKind(
OperatorAnalysisResultKind
.Applicable) > 1)
107
private int CountKind(
OperatorAnalysisResultKind
kind)