Created attachment 2353 [details]
Test case for params overload bug.
If you have 2 overloads with params, where all the parameters are of the same type, MCS can pick the one. Like this:
void F(string s, params string strings); // overload A
void F(params string strings); // overload B
F("x"); // Should resolve to overload A
In my tests, Microsoft's C# compiler selects overload A, while MCD selects overload B.
Full test case attached.
I ran in to this while using the Irony Parser's `RegexBasedTerminal` class. The ctor has these overloads. (http://irony.codeplex.com)
Fixed in master
Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on GitHub
to continue tracking issues. Bugzilla will remain available for
reference in read-only mode. We will continue to work on open Bugzilla
bugs, copy them to the new locations as needed for follow-up, and add
the new items under Related Links.
Create a new report for Bug 6541 on Developer
Community or GitHub if you have new information to add and do not yet see a matching
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Our sincere thanks to everyone who has contributed on this bug tracker
over the years. Thanks also for your understanding as we make these
adjustments and improvements for the future.