Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0217
In order to be applicable as a short circuit operator a user-defined logical operator ('{0}') must have the same return type and parameter types