5 references to ERR_UnaryOperand2
Microsoft.CodeAnalysis.VisualBasic (4)
Binding\Binder_ConditionalAccess.vb (1)
58
ReportDiagnostic(diagnostics, node.QuestionMarkToken, ERRID.
ERR_UnaryOperand2
, node.QuestionMarkToken.ValueText, type)
Binding\Binder_Operators.vb (1)
1256
ReportDiagnostic(diagnostics, syntax, ErrorFactory.ErrorInfo(ERRID.
ERR_UnaryOperand2
, syntax.OperatorToken, operand.Type))
Errors\ErrorFacts.vb (1)
322
ERRID.
ERR_UnaryOperand2
,
Preprocessor\ExpressionEvaluator.vb (1)
859
Return ReportSemanticError(ERRID.
ERR_UnaryOperand2
, expr, expr.OperatorToken.ValueText, specialType.GetDisplayName())
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\OperationAnalyzerTests.vb (1)
1813
Diagnostic(ERRID.
ERR_UnaryOperand2
, "-s").WithArguments("-", "C").WithLocation(7, 16))