title: system.stackoverflowexception Cannot evaluate expression because the current thread is in a stack overflow state
body: <p>I am getting a System.StackOverFlowException when the code hits this function.</p>
  
  <p>Where stringtype is user defined tupe and equals int the function in the type library.</p>
  
  <pre><code>  public static bool Equals(StringType leftHand, StringType rightHand)
    {
         if (leftHand == rightHand)
         {
            return true;
         }
         if ((leftHand == "0") || (rightHand == "0"))
         {
            return false;
         }
         return (leftHand.myValue.Equals(rightHand.myValue) &amp;&amp; leftHand.myState.Equals(rightHand.myState));
     }
  </code></pre>