[Mono-bugs] [Bug 590750] ProvideCorrectArgumentsToFormattingMethodsRule fired false positive

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 24 06:24:07 EDT 2010



--- Comment #1 from Antoine Vandecrème <avandecreme at sopragroup.com> 2010-03-24 10:24:06 UTC ---
I just detect another case returning false positive.
If we pass an array for the values, only one parameter is detected :

            public void MethodWithGoodFormattingAndArrayParameter()
                string[] values = { "Foo", "Bar" };
                String.Format("{0} {1}", values);

Return : The String.Format method is expecting 2 parameters, but only 1 are


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