[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
Tue Jan 18 08:39:19 EST 2011



Ethan Brown <ethan_j_brown at hotmail.com> changed:

           What    |Removed                     |Added
             Status|NEEDINFO                    |NEW
       InfoProvider|ethan_j_brown at hotmail.com   |

--- Comment #2 from Ethan Brown <ethan_j_brown at hotmail.com> 2011-01-18 13:39:18 UTC ---
Created an attachment (id=408822)
 --> (http://bugzilla.novell.com/attachment.cgi?id=408822)
Demonstrates missing source line

Run Gendarme 2.10.x with the attached rules file on the given assembly with
ruleset EPS.

You will see 7 defects listed, and the ones that can return source files, do

Except for this one:

2. AvoidMethodWithUnusedGenericTypeRule

Problem: One or more generic type parameters are not used in the formal
parameter list.
* Severity: Medium, Confidence: High
* Target:   System.Collections.Generic.IEnumerable`1<TResult>
* Details:  Generic parameter 'TResult' is not used by the method parameters.

Solution: This prevents the compiler from inferring types when the method is
used which results in hard to use API definitions.
More info available at:

The file that should be returned is 

* Source:  

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