[Mono-bugs] [Bug 590750] ProvideCorrectArgumentsToFormattingMethodsRule fired false positive
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Mar 28 10:33:51 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=590750
http://bugzilla.novell.com/show_bug.cgi?id=590750#c4
--- Comment #4 from Antoine Vandecrème <avandecreme at sopragroup.com> 2010-03-28 14:33:49 UTC ---
Created an attachment (id=351028)
--> (http://bugzilla.novell.com/attachment.cgi?id=351028)
Patch
Ok I fix both defects under .Net framework. I can't test under mono so take it
carefully ;)
I copy a method and an algorithm from ConsiderUsingStopwatchRule :
GetStoreLocal and AreMirrorInstructions.
They allows to find the store instruction associated to a load instructions I
think it should be put in InstructionsRocks (to avoid duplication) but I guess
it should require a test to verify that the instruction is a load instruction.
The next step is to support string resources. I will look how it is managed in
CIL ;)
--
Configure bugmail: http://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