2 writes to ConstrainedToTypeOpt
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\Operators\UnaryOperatorSignature.cs (2)
29this.ConstrainedToTypeOpt = null; 38this.ConstrainedToTypeOpt = constrainedToTypeOpt;
8 references to ConstrainedToTypeOpt
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Operators.cs (4)
2333CheckConstraintLanguageVersionAndRuntimeSupportForOperator(node, signature.Method, isUnsignedRightShift: false, signature.ConstrainedToTypeOpt, diagnostics); 2365signature.ConstrainedToTypeOpt, 2794CheckConstraintLanguageVersionAndRuntimeSupportForOperator(node, signature.Method, isUnsignedRightShift: false, signature.ConstrainedToTypeOpt, diagnostics); 2802signature.ConstrainedToTypeOpt,
Binder\Binder_Statements.cs (2)
2724CheckConstraintLanguageVersionAndRuntimeSupportForOperator(node, signature.Method, isUnsignedRightShift: false, signature.ConstrainedToTypeOpt, diagnostics); 2729return new BoundUnaryOperator(node, signature.Kind, resultOperand, ConstantValue.NotAvailable, signature.Method, signature.ConstrainedToTypeOpt, resultKind, originalUserDefinedOperators, signature.ReturnType)
Binder\Binder_TupleOperators.cs (1)
109CheckConstraintLanguageVersionAndRuntimeSupportForOperator(node, boolOperator.Method, isUnsignedRightShift: false, boolOperator.ConstrainedToTypeOpt, diagnostics);
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
584result = MakeUnaryOperator(boolOperator.Kind, binary.Syntax, boolOperator.Method, boolOperator.ConstrainedToTypeOpt, convertedBinary, boolType);