SignalR/SignalR — pull request #361 by drub0y (2012-05-02 05:37:34+00:00)
Title: ReflectedMethodDescriptorProvider::TryGetMethod parameter overload support and lambda optimization

Fixes #351.

This addresses a bug where overloaded methods actually wouldn't be resolved correctly with the previous optimization because the parameter count was not being taken into effect. In addition I realized that I
didn't extract the core method resolution logic which uses a lambda which was being instantiated and its field populated with the parameters array even when it would never be used in the case of a cache hit.

There is a small 0.1% drop in performance simply because this new implementation needs to factor in the parameter info when building the cache key now. Net we're still gaining 3.5% from previous implementation.