2 writes to ReturnType
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\Operators\BinaryOperatorSignature.cs (2)
37
this.
ReturnType
= returnType;
48
this.
ReturnType
= returnType;
15 references to ReturnType
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Operators.cs (7)
188
bestSignature.
ReturnType
,
199
var finalPlaceholder = new BoundValuePlaceholder(node, bestSignature.
ReturnType
);
630
TypeSymbol resultType = signature.
ReturnType
;
1025
signature.
ReturnType
);
1042
signature.
ReturnType
);
1157
bool typesAreSame = TypeSymbol.Equals(signature.LeftType, signature.RightType, TypeCompareKind.ConsiderEverything2) && TypeSymbol.Equals(signature.LeftType, signature.
ReturnType
, TypeCompareKind.ConsiderEverything2);
1159
bool typeMatchesContainer = TypeSymbol.Equals(signature.
ReturnType
.StrippedType(), t, TypeCompareKind.ConsiderEverything2) ||
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
}";
65
TypeSymbol.Equals(this.
ReturnType
, other.
ReturnType
, TypeCompareKind.ConsiderEverything2) &&
86
return Hash.Combine(
ReturnType
,
Compilation\CSharpCompilation.cs (1)
4274
if (csharpReturnType.SpecialType == signature.
ReturnType
.SpecialType &&
Compilation\CSharpSemanticModel.cs (1)
3933
compoundAssignment.Operator.
ReturnType
,
FlowAnalysis\NullableWalker.cs (1)
10597
node.Operator.
ReturnType
?? node.Type,
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
142
BoundExpression operand = MakeBinaryOperator(syntax, node.Operator.Kind, opLHS, loweredRight, node.Operator.
ReturnType
, node.Operator.Method, node.Operator.ConstrainedToTypeOpt, isCompoundAssignment: true);