2 writes to RightType
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\Operators\BinaryOperatorSignature.cs (2)
36
this.
RightType
= rightType;
47
this.
RightType
= rightType;
23 references to RightType
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Operators.cs (7)
187
bestSignature.
RightType
,
193
BoundExpression rightConverted = CreateConversion(right, best.RightConversion, bestSignature.
RightType
, diagnostics);
638
Debug.Assert((object)signature.
RightType
!= null);
647
resultRight = CreateConversion(right, best.RightConversion, signature.
RightType
, conversionDiagnostics);
988
signature.
RightType
.SpecialType == SpecialType.System_Boolean;
999
var resultRight = CreateConversion(right, best.RightConversion, signature.
RightType
, diagnostics);
1157
bool typesAreSame = TypeSymbol.Equals(signature.LeftType, signature.
RightType
, TypeCompareKind.ConsiderEverything2) && TypeSymbol.Equals(signature.LeftType, signature.ReturnType, TypeCompareKind.ConsiderEverything2);
Binder\Semantics\Operators\BinaryOperatorEasyOut.cs (1)
315
Conversion rightConversion = Conversions.FastClassifyConversion(rightType, signature.
RightType
);
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (8)
726
Debug.Assert(op.
RightType
.IsObjectType());
729
var convRight = getOperandConversionForAllowByRefLikeNullCheck(isChecked, right, op.
RightType
, ref useSiteInfo);
1189
BetterResult rightBetter = BetterConversionFromExpression(right, op1.
RightType
, op2.
RightType
, ref useSiteInfo);
1229
Conversions.HasIdentityConversion(op1.
RightType
, op2.
RightType
))
1332
op1Right = op1.
RightType
;
1349
op2Right = op2.
RightType
;
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}";
64
TypeSymbol.Equals(this.
RightType
, other.
RightType
, TypeCompareKind.ConsiderEverything2) &&
88
Hash.Combine(
RightType
,
Compilation\CSharpCompilation.cs (1)
4251
csharpRightType.SpecialType == signature.
RightType
.SpecialType)
Compilation\CSharpSemanticModel.cs (1)
3932
compoundAssignment.Operator.
RightType
,
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
24
Debug.Assert(TypeSymbol.Equals(node.Right.Type, node.Operator.
RightType
, TypeCompareKind.ConsiderEverything2));