diff --git a/CSharp.lua/CoreSystem.Lua/All.lua b/CSharp.lua/CoreSystem.Lua/All.lua index cd46a826..49d9adc6 100644 --- a/CSharp.lua/CoreSystem.Lua/All.lua +++ b/CSharp.lua/CoreSystem.Lua/All.lua @@ -30,10 +30,10 @@ return function(dir, conf) load("Enum") load("TimeSpan") load("DateTime") - load("Type") load("Collections.EqualityComparer") load("Collection") load("Array") + load("Type") load("Collections.List") load("Collections.Dictionary") load("Collections.Queue") diff --git a/CSharp.lua/CoreSystem.Lua/CoreSystem/Collection.lua b/CSharp.lua/CoreSystem.Lua/CoreSystem/Collection.lua index f576811f..3b6244a7 100644 --- a/CSharp.lua/CoreSystem.Lua/CoreSystem/Collection.lua +++ b/CSharp.lua/CoreSystem.Lua/CoreSystem/Collection.lua @@ -551,7 +551,7 @@ function Collection.forEachArray(t, action) if action == null then throw(ArgumentNullException("action")) end local version = versions[t] for i = 1, #t do - if versions ~= versions[t] then + if version ~= versions[t] then throwFailedVersion() end action(unWrap(t[i])) diff --git a/CSharp.lua/CoreSystem.Lua/CoreSystem/Delegate.lua b/CSharp.lua/CoreSystem.Lua/CoreSystem/Delegate.lua index e2bc92d9..a34a3c67 100644 --- a/CSharp.lua/CoreSystem.Lua/CoreSystem/Delegate.lua +++ b/CSharp.lua/CoreSystem.Lua/CoreSystem/Delegate.lua @@ -325,7 +325,7 @@ end local function create0_2(f) return function(x1, x2, T1, T2) - return f(x1, x2, T2) + return f(x1, x2, T1, T2) end end