Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0218
In order for '{0}' to be applicable as a short circuit operator, its declaring type '{1}' must define operator true and operator false