16 references to ERR_BadUnaryOperatorSignature
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
968or ErrorCode.ERR_BadUnaryOperatorSignature
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
808ErrorCode.ERR_BadUnaryOperatorSignature),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (14)
Symbols\CheckedUserDefinedOperatorsTests.cs (1)
232Diagnostic(ErrorCode.ERR_BadUnaryOperatorSignature, "-").WithLocation(4, 38)
Symbols\DefaultInterfaceImplementationTests.cs (6)
49126Diagnostic(ErrorCode.ERR_BadUnaryOperatorSignature, "+").WithLocation(4, 31), 49129Diagnostic(ErrorCode.ERR_BadUnaryOperatorSignature, "-").WithLocation(5, 31), 49132Diagnostic(ErrorCode.ERR_BadUnaryOperatorSignature, "!").WithLocation(6, 31), 49135Diagnostic(ErrorCode.ERR_BadUnaryOperatorSignature, "~").WithLocation(7, 31), 49144Diagnostic(ErrorCode.ERR_BadUnaryOperatorSignature, "true").WithLocation(10, 33), 49147Diagnostic(ErrorCode.ERR_BadUnaryOperatorSignature, "false").WithLocation(11, 33),
Symbols\StaticAbstractMembersInInterfacesTests.cs (6)
7227Diagnostic(ErrorCode.ERR_BadUnaryOperatorSignature, op).WithLocation(4, 26), 7230Diagnostic(ErrorCode.ERR_BadUnaryOperatorSignature, op).WithLocation(9, 26), 18379ErrorCode badSignatureError = op.Length != 2 ? ErrorCode.ERR_BadUnaryOperatorSignature : ErrorCode.ERR_BadIncDecSignature; 18526ErrorCode badSignatureError = op.Length != 2 ? ErrorCode.ERR_BadUnaryOperatorSignature : ErrorCode.ERR_BadIncDecSignature; 18673ErrorCode badSignatureError = op.Length != 2 ? ErrorCode.ERR_BadUnaryOperatorSignature : ErrorCode.ERR_BadIncDecSignature; 18826ErrorCode badSignatureError = op.Length != 2 ? ErrorCode.ERR_BadUnaryOperatorSignature : ErrorCode.ERR_BadIncDecSignature;
Symbols\SymbolErrorTests.cs (1)
10766Diagnostic(ErrorCode.ERR_BadUnaryOperatorSignature, "+")