title: Overloading getter and setter causes a stack overflow in C#
body: <p>I am not sure what is causing the StackOverflowException when I try to overwrite a get and set function. When I just use the default get and set it works.</p>
  <pre><code>enum MyEnumType
  {
  ....
  }
  
  public MyEnumType data { get; set; }
  </code></pre>
  <p>But when I try to add additional data, it throws a StackOverflowException:</p>
  <pre><code>public MyEnumType data
  {
    get
    {
      return data;
    }
    set
    {
      data = value;
    }
  }
  </code></pre>
  <p>Any ideas? When I do this for ASP.NET user control attributes there isn't any problem. Why is it is causing a StackOverflowException for a normal enum data type?</p>