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