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