Commit 7c74d9e1 authored by Vinicius Jarina's avatar Vinicius Jarina
Browse files

Fixed WinRT build.

parent 3618add1
......@@ -104,7 +104,11 @@ namespace NLua.Method
return type.GetMethods (methodName, bindingType);
var methods = type.GetMethods (methodName, bindingType);
#if NETFX_CORE
var baseMethods = GetMethodsRecursively (type.GetTypeInfo ().BaseType, methodName, bindingType);
#else
var baseMethods = GetMethodsRecursively (type.BaseType, methodName, bindingType);
#endif
return methods.Concat (baseMethods).ToArray ();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment