Commit d41c103a authored by Vinicius Jarina's avatar Vinicius Jarina
Browse files

Fixed WinRT build.

parent fa3a67dc
...@@ -1037,7 +1037,11 @@ namespace NLua ...@@ -1037,7 +1037,11 @@ namespace NLua
var validDelegate = new MethodCache (); var validDelegate = new MethodCache ();
Delegate del = (Delegate)objDelegate; Delegate del = (Delegate)objDelegate;
MethodBase methodDelegate = del.Method; #if NETFX_CORE || WP80 || NET45 || PCL
MethodBase methodDelegate = del.GetMethodInfo ();
#else
MethodBase methodDelegate = del.Method;
#endif
bool isOk = MatchParameters (luaState, methodDelegate, ref validDelegate); bool isOk = MatchParameters (luaState, methodDelegate, ref validDelegate);
if (isOk) { if (isOk) {
......
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