With StyleCop, you can ignore the generated source files. I don’t know why the files created by developers should adhere to any arbitrary coding standard - the only thing that was supposed to be read or written was an automated tool, not a developer.
Code styles mainly help developers. Code generators, of course, could not care.
source share