MSDataSetGenerator does not follow guidelines for adding the [GeneratedCodeAttribute] and puts the attribute at class type level for TableAdapters, which is a partial class. Because of this code metrics are calculated incorrectly because, although generated, it still takes into account the properties of the class (getters and setters)....Filed here because of this blog post:http://blogs.msdn.com/fxcop/archive/2007/04/27/correct-usage-of-the-compilergeneratedattribute-and-the-generatedcodeattribute.aspx
Version