[Mono-bugs] [Bug 689490] IgnoreList is not being appropriately handled when a rule is run against a type, when the rule enumerates the types members (for instance, AvoidSpeculativeGenerality)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Apr 25 21:59:54 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=689490

https://bugzilla.novell.com/show_bug.cgi?id=689490#c2


--- Comment #2 from Sebastien Pouliot <spouliot at novell.com> 2011-04-26 01:59:53 UTC ---
While some cases are likely bad* this one, AvoidSpeculativeGeneralityRule, 
is correct since we're looking at a ITypeRule reporting a defect on the (same)
'type' instance that is being analyzed**. 

The way to ignore this is specify the type, the namespace or the assembly.

* If you have other examples please let me know.

** I'm not closing the bug yet as I want to review the case where an IType rule
iterates on methods and report defect on them. It's uncommon but there are
cases where it make sense (e.g. checking methods based on a interface).

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list