This project has moved and is read-only. For the latest updates, please go here.

Classes should not be decorated with GeneratedCodeAttribute

Jul 5, 2011 at 1:15 PM
Edited Jul 5, 2011 at 1:24 PM



I noticed that the old patch I wrote for decorating generated classes with GeneratedCodeAttribute has been applied (TheRHCP is my previous login).

Actually experience taught that this is really wrong in this case. In fact it should not happen here simply because the classes are partial which means they are not fully generated. If the types were regular closed types then it would be alright.


I reported the issue here before creating the patch and here is the reply of the original developer:


Anyway, it is good to hear that this project in moving again.



Jul 5, 2011 at 6:00 PM

I didn't see the discussion regarding work item 5504. Thanks for the info. I'll revert the change.