Fixed difficult merge

This commit is contained in:
Shannon Deminick
2012-08-22 05:57:34 +06:00
parent 1cbd355a2a
commit e9c793cede
11 changed files with 61 additions and 76 deletions

View File

@@ -34,7 +34,7 @@ namespace Umbraco.Core.Dynamics
candidates = candidates.Concat(typeof(IEnumerable).GetMethods(BindingFlags.Static | BindingFlags.Public));
//}
//filter by name
//filter by name
var methodsByName = candidates.Where(m => m.Name == name);
var isGenericAndRightParamCount = methodsByName.Where(m => m.GetParameters().Length == argumentCount + (argsContainsThis ? 0 : 1));