BC30020: 'Is' requires operands that have reference types, but this operand has the value type '<typename>'
The Is
comparison operator determines whether two object variables refer to the same instance. This comparison is not defined for value types.
Error ID: BC30020
To correct this error
- Use the appropriate arithmetic comparison operator or the
Like
operator to compare two value types.
See also
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for