Created
February 11, 2012 20:18
-
-
Save garuma/1803970 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/SignalR/Hubs/DefaultJavaScriptProxyGenerator.cs b/SignalR/Hubs/DefaultJavaScriptProxyGenerator.cs | |
| index 2bfa9aa..e5f8649 100644 | |
| --- a/SignalR/Hubs/DefaultJavaScriptProxyGenerator.cs | |
| +++ b/SignalR/Hubs/DefaultJavaScriptProxyGenerator.cs | |
| @@ -119,10 +119,10 @@ namespace SignalR.Hubs | |
| // Pick the overload with the minimum number of arguments | |
| return from method in ReflectionHelper.GetExportedHubMethods(type) | |
| group method by method.Name into overloads | |
| - let overload = (from overload in overloads | |
| + let oload = (from overload in overloads | |
| orderby overload.GetParameters().Length | |
| select overload).FirstOrDefault() | |
| - select overload; | |
| + select oload; | |
| } | |
| private void GenerateMethod(string serviceUrl, StringBuilder sb, Type type, MethodInfo method) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment