sq/JSIL — pull request #505 by iskiselev (2014-05-27 09:46:17+00:00)
Title: Do not add MethodSignatures to parent/child types for static methods

As I found when investigated #504, after my change from #476, JSIL always used constructor signature for constructor calls. It happened, because now we add to overload list counter not only methods from derived class, but from base class also.
So, for every class we added .ctor from object - so any class had overloaded .ctor according to our meta info, and .ctor never use fast dispatcher - so even if we had another signature, we still used constructor signature for it.

Really, we don't need add constructors and static methods to overload list counter of base/derived classes, as we always call them with knowledge of class on which it is called. We need add it count only to class on which static method/constructor was defined. I implemented it with this pull request.

With this patch we could reproduce #504 only with second test case (as were before #476), or if we add one more constructor to GenericClass.