If you set the GenerateMember of an element to false, it generally removes 'this' from the serialized code concerning the element. However, in the cases where we have a serialized cast in the designer, the word 'this' remains. Since the element is not a member of the form/user control, we get a compile error.