9 references to BinaryOperatorSignature
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Operators.cs (2)
249
bestSignature = new
BinaryOperatorSignature
(
502
new
BinaryOperatorSignature
(
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (5)
1006
operators.Add(new
BinaryOperatorSignature
(BinaryOperatorKind.UserDefined | kind, leftOperandType, rightOperandType, resultType, op, constrainedToTypeOpt));
1025
operators.Add(new
BinaryOperatorSignature
(
1031
operators.Add(new
BinaryOperatorSignature
(
1557
inferredCandidate = new
BinaryOperatorSignature
(
1566
inferredCandidate = new
BinaryOperatorSignature
(BinaryOperatorKind.UserDefined | kind, leftOperandType, rightOperandType, resultType, method, constrainedToTypeOpt: null);
BoundTree\NullabilityRewriter.cs (1)
152
op = new
BinaryOperatorSignature
(op.Kind, op.LeftType, op.RightType, op.ReturnType, GetUpdatedSymbol(node, op.Method), op.ConstrainedToTypeOpt);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\OperatorTests.cs (1)
8831
Assert.Equal(op, new
BinaryOperatorSignature
(op.Kind, op.LeftType, op.RightType, op.ReturnType, op.Method, constrainedToTypeOpt: null));