Operator '<operatorname>' is not defined for type '<typename>'
You have attempted to use a unary operator (+
, -
, or Not
) on a type, such as a String
, for which it is not defined.
Error ID: BC30487
- Replace the unary operator with an appropriate operator for the expression.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: