2 writes to ConstrainedToTypeOpt
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\Operators\BinaryOperatorSignature.cs (2)
39this.ConstrainedToTypeOpt = null; 50this.ConstrainedToTypeOpt = constrainedToTypeOpt;
10 references to ConstrainedToTypeOpt
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Operators.cs (8)
180isUnsignedRightShift: bestSignature.Kind.Operator() == BinaryOperatorKind.UnsignedRightShift, bestSignature.ConstrainedToTypeOpt, diagnostics); 190bestSignature.ConstrainedToTypeOpt); 627isUnsignedRightShift: resultOperatorKind.Operator() == BinaryOperatorKind.UnsignedRightShift, signature.ConstrainedToTypeOpt, diagnostics); 691signature.ConstrainedToTypeOpt, 1010_ = CheckConstraintLanguageVersionAndRuntimeSupportForOperator(node, signature.Method, isUnsignedRightShift: false, signature.ConstrainedToTypeOpt, diagnostics) && 1012isUnsignedRightShift: false, signature.ConstrainedToTypeOpt, diagnostics); 1022signature.ConstrainedToTypeOpt, 1039signature.ConstrainedToTypeOpt,
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);
Operations\CSharpOperationFactory.cs (1)
1370GetConstrainedToTypeForOperator(method, boundCompoundAssignmentOperator.Operator.ConstrainedToTypeOpt).GetPublicSymbol(),