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