27 references to ERR_BadBinaryOperatorSignature
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
969
or ErrorCode.
ERR_BadBinaryOperatorSignature
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
972
(ContainingType.IsExtension ? ErrorCode.ERR_BadExtensionBinaryOperatorSignature : ErrorCode.
ERR_BadBinaryOperatorSignature
),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (25)
Symbols\CheckedUserDefinedOperatorsTests.cs (1)
1425
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, op).WithLocation(4, 37)
Symbols\DefaultInterfaceImplementationTests.cs (12)
49150
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, "+").WithLocation(12, 31),
49153
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, "-").WithLocation(13, 31),
49156
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, "*").WithLocation(14, 31),
49159
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, "/").WithLocation(15, 31),
49162
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, "%").WithLocation(16, 31),
49165
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, "&").WithLocation(17, 31),
49168
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, "|").WithLocation(18, 31),
49171
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, "^").WithLocation(19, 31),
49180
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, ">").WithLocation(22, 31),
49183
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, "<").WithLocation(23, 31),
49186
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, ">=").WithLocation(24, 31),
49189
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, "<=").WithLocation(25, 31),
Symbols\StaticAbstractMembersInInterfacesTests.cs (10)
7532
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, op).WithLocation(4, 26),
7535
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, op).WithLocation(9, 26),
7626
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, op).WithLocation(4, 26),
7629
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, op).WithLocation(9, 26),
8059
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, op).WithLocation(4, 26),
8062
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, op).WithLocation(9, 26),
8156
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, op).WithLocation(4, 26),
8159
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, op).WithLocation(9, 26),
18980
ErrorCode badSignatureError = isShift ? ErrorCode.ERR_BadShiftOperatorSignature : ErrorCode.
ERR_BadBinaryOperatorSignature
;
19166
ErrorCode badSignatureError = isShift ? ErrorCode.ERR_BadShiftOperatorSignature : ErrorCode.
ERR_BadBinaryOperatorSignature
;
Symbols\SymbolErrorTests.cs (2)
10785
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, "+")
10885
Diagnostic(ErrorCode.
ERR_BadBinaryOperatorSignature
, "+").WithLocation(4, 17)