10 references to ConstrainedToType
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_TupleOperators.cs (1)
111
return new TupleBinaryOperatorInfo.Single(binary.Left.Type, binary.Right.Type, binary.OperatorKind, binary.Method, binary.
ConstrainedToType
,
CodeGen\Optimizer.cs (3)
1527
left = binary.Update(binary.OperatorKind, binary.ConstantValueOpt, binary.Method, binary.
ConstrainedToType
, binary.ResultKind, left, right, type);
1561
return node.Update(node.OperatorKind, node.ConstantValueOpt, node.Method, node.
ConstrainedToType
, node.ResultKind, left, right, node.Type);
2102
left = binary.Update(binary.OperatorKind, binary.ConstantValueOpt, binary.Method, binary.
ConstrainedToType
, binary.ResultKind, left, right, type);
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (3)
152
loweredLeft = MakeBinaryOperator(original, original.Syntax, original.OperatorKind, loweredLeft, loweredRight, original.Type, original.Method, original.
ConstrainedToType
,
533
oldNode.Update(operatorKind, oldNode.ConstantValueOpt, oldNode.Method, oldNode.
ConstrainedToType
, oldNode.ResultKind, loweredLeft, loweredRight, type) :
1999
return oldNode.Update(operatorKind, oldNode.ConstantValueOpt, oldNode.Method, oldNode.
ConstrainedToType
, oldNode.ResultKind, loweredLeft, loweredRight, type);
Lowering\MethodToClassRewriter.cs (1)
274
VisitType(node.
ConstrainedToType
),
Lowering\SpillSequenceSpiller.cs (1)
1013
return UpdateExpression(builder, node.Update(node.OperatorKind, node.ConstantValueOpt, node.Method, node.
ConstrainedToType
, node.ResultKind, left, right, node.Type));
Operations\CSharpOperationFactory.cs (1)
1531
GetConstrainedToTypeForOperator(boundBinaryOperator.Method, boundBinaryOperator.
ConstrainedToType
).GetPublicSymbol(),