C# Member Properties Recursion?!?!?
I was working on some C# tool today when i came along this piece of code i just wrote.
public IKJointConstraint JointConstraint
{
get { return JointConstraint; }
set { JointConstraint = value;}
}
When i was actually trying to use m_JointConstraint not JointConstraint. What i found interesting is that this piece of could would lead to an infinite recusion loop and considering that the function does nothing in particular, I was surprised the compiler did not find this.