[Mono-bugs] [Bug 673150] New: UseCorrectSuffixRule should favor name of XXXDictionary vs XXXCollection when a class implements both IDictionary and ICollection to be consistent with FxCop
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Feb 17 16:39:17 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=673150
https://bugzilla.novell.com/show_bug.cgi?id=673150#c0
Summary: UseCorrectSuffixRule should favor name of
XXXDictionary vs XXXCollection when a class implements
both IDictionary and ICollection to be consistent with
FxCop
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.648.18 Safari/534.16
A class that looks like this
public class CorrectCollectionAndDictionary<T, V> : IDictionary<T, V>,
ICollection<V>
generates a rule violation in Gendarme, where Gendarme expects the name to end
in 'Collection'
FxCop expects it to end in 'Dictionary'
Complete test case here:
https://github.com/Iristyle/mono-tools/commit/40bfb2260511cfe4171e9153c3c434fedd8a4d4a
Reproducible: Always
Steps to Reproduce:
1.Run included test
2.
3.
Actual Results:
rule failure
Expected Results:
rule success
--
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