https://bugzilla.novell.com/show_bug.cgi?id=666400
https://bugzilla.novell.com/show_bug.cgi?id=666400#c0 Summary: AvoidLackOfCohesionOfMethodRule should ignore WCF [DataContract] attributed classes Classification: Mono Product: Mono: Tools Version: 2.10.x Platform: 64bit OS/Version: Windows 7 Status: NEW Severity: Normal Priority: P5 - None Component: Gendarme AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.634.0 Safari/534.16 Since these classes are DTOs representative of wire formats, etc - AvoidLackOfCohesionOfMethodsRule should not apply. These classes typically have no methods. Reproducible: Always Steps to Reproduce: 1.Create a class, attribute it with [DataContract] 2.Add some fields, attributing them with [DataMember] 3.Run Gendarme Expected Results: No defect -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
