2 writes to LeftType
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\Operators\BinaryOperatorSignature.cs (2)
35
this.
LeftType
= leftType;
46
this.
LeftType
= leftType;
26 references to LeftType
Microsoft.CodeAnalysis.CSharp (26)
Binder\Binder_Operators.cs (10)
186
bestSignature.
LeftType
,
244
var leftConversion = CreateConversion(node.Left, leftPlaceholder, best.LeftConversion, isCast: false, conversionGroupOpt: null, best.Signature.
LeftType
, diagnostics);
637
Debug.Assert((object)signature.
LeftType
!= null);
646
resultLeft = CreateConversion(left, best.LeftConversion, signature.
LeftType
, conversionDiagnostics);
987
bool bothBool = signature.
LeftType
.SpecialType == SpecialType.System_Boolean &&
998
var resultLeft = CreateConversion(left, best.LeftConversion, signature.
LeftType
, diagnostics);
1157
bool typesAreSame = TypeSymbol.Equals(signature.
LeftType
, signature.RightType, TypeCompareKind.ConsiderEverything2) && TypeSymbol.Equals(signature.
LeftType
, signature.ReturnType, TypeCompareKind.ConsiderEverything2);
1181
if (!HasApplicableBooleanOperator(t, WellKnownMemberNames.TrueOperatorName, signature.
LeftType
, ref useSiteInfo, out trueOperator) ||
1182
!HasApplicableBooleanOperator(t, WellKnownMemberNames.FalseOperatorName, signature.
LeftType
, ref useSiteInfo, out falseOperator))
Binder\Semantics\Operators\BinaryOperatorEasyOut.cs (1)
314
Conversion leftConversion = Conversions.FastClassifyConversion(leftType, signature.
LeftType
);
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (8)
725
Debug.Assert(op.
LeftType
.IsObjectType());
728
var convLeft = getOperandConversionForAllowByRefLikeNullCheck(isChecked, left, op.
LeftType
, ref useSiteInfo);
1188
BetterResult leftBetter = BetterConversionFromExpression(left, op1.
LeftType
, op2.
LeftType
, ref useSiteInfo);
1228
if (Conversions.HasIdentityConversion(op1.
LeftType
, op2.
LeftType
) &&
1331
op1Left = op1.
LeftType
;
1348
op2Left = op2.
LeftType
;
Binder\Semantics\Operators\BinaryOperatorSignature.cs (4)
56
return $"kind: {this.Kind} leftType: {this.
LeftType
} leftRefKind: {this.LeftRefKind} rightType: {this.RightType} rightRefKind: {this.RightRefKind} return: {this.ReturnType}";
63
TypeSymbol.Equals(this.
LeftType
, other.
LeftType
, TypeCompareKind.ConsiderEverything2) &&
87
Hash.Combine(
LeftType
,
Compilation\CSharpCompilation.cs (1)
4250
csharpLeftType.SpecialType == signature.
LeftType
.SpecialType &&
Compilation\CSharpSemanticModel.cs (1)
3931
compoundAssignment.Operator.
LeftType
,
Lowering\DiagnosticsPass_Warnings.cs (1)
292
explicitCastInCode: false, conversionGroupOpt: null, constantValueOpt: null, type: node.Operator.
LeftType
);