From 56fbc65a91e0b52f1fa3af04e19ad1690ae4f82b Mon Sep 17 00:00:00 2001 From: zeromus Date: Fri, 14 Jul 2017 00:51:28 -0500 Subject: [PATCH] move luainterface exceptions to tis own namespace like in nlua --- LuaInterface/LuaInterface/Lua.cs | 1 + LuaInterface/LuaInterface/LuaException.cs | 2 +- LuaInterface/LuaInterface/LuaInterface.csproj | 2 +- LuaInterface/LuaInterface/LuaScriptException.cs | 2 +- LuaInterface/LuaInterface/MethodWrapper.cs | 1 + LuaInterface/LuaInterface/ObjectTranslator.cs | 1 + 6 files changed, 6 insertions(+), 3 deletions(-) diff --git a/LuaInterface/LuaInterface/Lua.cs b/LuaInterface/LuaInterface/Lua.cs index b80e5b93f9..74ec122d27 100644 --- a/LuaInterface/LuaInterface/Lua.cs +++ b/LuaInterface/LuaInterface/Lua.cs @@ -8,6 +8,7 @@ namespace NLua using System.Collections.Specialized; using System.Reflection; using System.Threading; + using NLua.Exceptions; using Lua511; /* diff --git a/LuaInterface/LuaInterface/LuaException.cs b/LuaInterface/LuaInterface/LuaException.cs index 6b053cba8f..549401498a 100644 --- a/LuaInterface/LuaInterface/LuaException.cs +++ b/LuaInterface/LuaInterface/LuaException.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.Serialization; -namespace NLua +namespace NLua.Exceptions { /// /// Exceptions thrown by the Lua runtime diff --git a/LuaInterface/LuaInterface/LuaInterface.csproj b/LuaInterface/LuaInterface/LuaInterface.csproj index 3b3aad27d1..c658055a7b 100644 --- a/LuaInterface/LuaInterface/LuaInterface.csproj +++ b/LuaInterface/LuaInterface/LuaInterface.csproj @@ -162,7 +162,7 @@ false - bin\x64\Release-LUAPERKS\ + ..\..\references\x64\ TRACE true pdbonly diff --git a/LuaInterface/LuaInterface/LuaScriptException.cs b/LuaInterface/LuaInterface/LuaScriptException.cs index 7ba355fd24..698bc9f106 100644 --- a/LuaInterface/LuaInterface/LuaScriptException.cs +++ b/LuaInterface/LuaInterface/LuaScriptException.cs @@ -1,6 +1,6 @@ using System; -namespace NLua +namespace NLua.Exceptions { /// /// Exceptions thrown by the Lua runtime because of errors in the script diff --git a/LuaInterface/LuaInterface/MethodWrapper.cs b/LuaInterface/LuaInterface/MethodWrapper.cs index 9be1ccfc30..bea8ba9cff 100644 --- a/LuaInterface/LuaInterface/MethodWrapper.cs +++ b/LuaInterface/LuaInterface/MethodWrapper.cs @@ -6,6 +6,7 @@ namespace NLua using System.Reflection; using System.Collections.Generic; using System.Diagnostics; + using NLua.Exceptions; using Lua511; /* diff --git a/LuaInterface/LuaInterface/ObjectTranslator.cs b/LuaInterface/LuaInterface/ObjectTranslator.cs index 7488e2699c..5235c1412b 100644 --- a/LuaInterface/LuaInterface/ObjectTranslator.cs +++ b/LuaInterface/LuaInterface/ObjectTranslator.cs @@ -6,6 +6,7 @@ namespace NLua using System.Reflection; using System.Collections.Generic; using System.Diagnostics; + using NLua.Exceptions; using Lua511; /*