Skip to content

Commit

Permalink
Fix: Bindingrestriction is wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
neolithos committed Jun 19, 2015
1 parent d30a505 commit 602a2a5
Show file tree
Hide file tree
Showing 2 changed files with 1,077 additions and 1,066 deletions.
2 changes: 2 additions & 0 deletions NeoLua/Lua.Runtime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public partial class Lua
internal readonly static MethodInfo TypeGetGenericItemMethodInfo;
internal readonly static MethodInfo TypeGetTypeMethodInfoArgType;
internal readonly static PropertyInfo TypeTypePropertyInfo;
internal readonly static PropertyInfo TypeParentPropertyInfo;
// LuaMethod
internal readonly static ConstructorInfo MethodConstructorInfo;
internal readonly static ConstructorInfo OverloadedMethodConstructorInfo;
Expand Down Expand Up @@ -192,6 +193,7 @@ static Lua()
TypeGetTypeMethodInfoArgIndex = tiLuaType.FindDeclaredMethod("GetType", ReflectionFlag.Static, typeof(int));
TypeGetTypeMethodInfoArgType = tiLuaType.FindDeclaredMethod("GetType", ReflectionFlag.Static, typeof(Type));
TypeTypePropertyInfo = tiLuaType.FindDeclaredProperty("Type", ReflectionFlag.None);
TypeParentPropertyInfo = tiLuaType.FindDeclaredProperty("Parent", ReflectionFlag.None);

// LuaMethod
var tiLuaMethod = typeof(LuaMethod).GetTypeInfo();
Expand Down
Loading

0 comments on commit 602a2a5

Please sign in to comment.