Merge pull request #1439 from BrzVlad/feature-managed-allocator
[mono.git] / mcs / mcs / decl.cs
index 99476d291c7b671047ac0329a843ce900327812b..16f8bcb38360495b313d3f6b1c3a3ea7583f2d0c 100644 (file)
@@ -670,13 +670,13 @@ namespace Mono.CSharp {
                // Does extension methods look up to find a method which matches name and extensionType.
                // Search starts from this namespace and continues hierarchically up to top level.
                //
-               public ExtensionMethodCandidates LookupExtensionMethod (TypeSpec extensionType, string name, int arity)
+               public ExtensionMethodCandidates LookupExtensionMethod (string name, int arity)
                {
                        var m = Parent;
                        do {
                                var ns = m as NamespaceContainer;
                                if (ns != null)
-                                       return ns.LookupExtensionMethod (this, extensionType, name, arity, 0);
+                                       return ns.LookupExtensionMethod (this, name, arity, 0);
 
                                m = m.Parent;
                        } while (m != null);