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