[Mono-bugs] [Bug 663492] New: AvoidUnnecessaryOverridesRule false positive
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Jan 10 15:23:19 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=663492
https://bugzilla.novell.com/show_bug.cgi?id=663492#c0
Summary: AvoidUnnecessaryOverridesRule false positive
Classification: Mono
Product: Mono: Tools
Version: SVN
Platform: All
OS/Version: Windows
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Gendarme
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: avandecreme at sopragroup.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.13)
Gecko/20101203 Firefox/3.6.13
This code fire false positive :
public class BaseClass
{
public override string DoSomething(int i)
{
return i.ToString();
}
}
public class GoodClass : BaseClass
{
public Property { get; set; }
public override string DoSomething(int i)
{
Property = base.DoSomething(i);
return Propety;
}
}
Reproducible: Always
Steps to Reproduce:
1. Compile above code
2. Run AvoidUnnecessaryOverridesRule
Actual Results:
Gendarme report defect
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