GeneratedCodeAttribute turns off Code Analysis

This will ensure that projects that copy this code into theirs 
(which is the default deployment mechanism for this code) will 
not have their Code Analysis rules broken.