[Mono-bugs] [Bug 666400] New: AvoidLackOfCohesionOfMethodRule should ignore WCF [DataContract] attributed classes
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat Jan 22 11:34:35 EST 2011
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: mono-bugs at lists.ximian.com
ReportedBy: ethan_j_brown at hotmail.com
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list