<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0217</ErrorName>
  <Examples>
    <string>// CS0217: A user-defined operator `UserOperatorClass.operator &amp;(UserOperatorClass, UserOperatorClass)' must have each parameter type and return type of the same type in order to be applicable as a short circuit operator
// Line: 22

public class UserOperatorClass
{
        public static bool operator &amp; (UserOperatorClass u1, UserOperatorClass u2) {
                return true;
        }
    
        public static bool operator true (UserOperatorClass u) {
                return true;
        }

        public static bool operator false (UserOperatorClass u) {
                return false;
        }

        public static void Main () {
                
                UserOperatorClass x = new UserOperatorClass();
                UserOperatorClass y = new UserOperatorClass();
                UserOperatorClass z = x &amp;&amp; y;
        }
}


</string>
    <string>// CS0217: A user-defined operator `UserOperatorClass.operator &amp;(UserOperatorClass, bool)' must have each parameter type and return type of the same type in order to be applicable as a short circuit operator
// Line: 25

public class UserOperatorClass
{
	public static UserOperatorClass operator &amp; (UserOperatorClass u1, bool u2)
	{
		return u1;
	}

	public static bool operator true (UserOperatorClass u)
	{
		return true;
	}

	public static bool operator false (UserOperatorClass u)
	{
		return false;
	}

	public static void Main ()
	{
		UserOperatorClass x = new UserOperatorClass ();
		bool y = true;
		UserOperatorClass z = x &amp;&amp; y;
	}
}


</string>
  </Examples>
</ErrorDocumentation>