[Mono-bugs] [Bug 664004] Generated Xml is missing source file / line number for AvoidMethodWithUnusedGenericTypeRule and ConsiderAddingInterfaceRule

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 21 19:39:37 EST 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=664004#c4


--- Comment #4 from Sebastien Pouliot <spouliot at novell.com> 2011-01-22 00:39:36 UTC ---
For AvoidMethodWithUnusedGenericTypeRule, 
System.Collections.Generic.IEnumerable`1<TResult>
EPS.Data.Linq.Abstractions.IDataContext::Translate(System.Data.Common.DbDataReader)
is an interface, so no IL (inside the assembly), no sequence point (in the pdb
symbols file), no source line (for Mono.Cecil.Pdb.dll to read) and nothing
Gendarme can do about it :-(

That being said, there's a another buglet hidden there since TResult is used in
the return value (as a generic parameter to IEnumerable) so the defect's
severity should be low (instead of medium).

-- 
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