Skip to content

Commit

Permalink
Глобальная чистка неиспользуемых using
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilBeaver committed Dec 24, 2021
1 parent 04a2b3a commit c343f53
Show file tree
Hide file tree
Showing 82 changed files with 5 additions and 252 deletions.
5 changes: 0 additions & 5 deletions src/ASPNETHandler/ASPNETHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,9 @@ This Source Code Form is subject to the terms of the

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Runtime.Caching;
using System.IO;

using ScriptEngine;
using ScriptEngine.Machine;
using ScriptEngine.Environment;
using ScriptEngine.HostedScript;
Expand Down
5 changes: 0 additions & 5 deletions src/ASPNETHandler/ASPNetApplicationHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using ScriptEngine.HostedScript;
using ScriptEngine.HostedScript.Library;

Expand Down
5 changes: 0 additions & 5 deletions src/ASPNETHandler/ASPNetNullApplicationHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using ScriptEngine.HostedScript;
using ScriptEngine.HostedScript.Library;

Expand Down
7 changes: 0 additions & 7 deletions src/ASPNETHandler/AspEntryScriptSrc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using ScriptEngine.Environment;

namespace OneScript.ASPNETHandler
Expand Down
6 changes: 0 additions & 6 deletions src/ASPNETHandler/AspNetNullEntryScriptSrc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ This Source Code Form is subject to the terms of the
was not distributed with this file, You can obtain one
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using ScriptEngine.Environment;

Expand Down
8 changes: 0 additions & 8 deletions src/ASPNETHandler/HTTPServiceContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,8 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using ScriptEngine.Machine;
using ScriptEngine.Machine.Contexts;
using ScriptEngine.HostedScript.Library;
using ScriptEngine.HostedScript.Library.Binary;

namespace ScriptEngine.HostedScript.Library.HTTPService
{
Expand Down
6 changes: 0 additions & 6 deletions src/ASPNETHandler/HTTPServiceRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,8 @@ This Source Code Form is subject to the terms of the
----------------------------------------------------------*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using ScriptEngine.Machine;
using ScriptEngine.Machine.Contexts;
using ScriptEngine.HostedScript.Library;
using ScriptEngine.HostedScript.Library.Binary;

/// <summary>
Expand Down
8 changes: 0 additions & 8 deletions src/ASPNETHandler/HttpMeans.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,9 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using ScriptEngine.Machine;
using ScriptEngine.Machine.Contexts;
using System.Web;

using ScriptEngine.HostedScript.Library;
using ScriptEngine.HostedScript.Library.Binary;

/// <summary>
///
/// </summary>
Expand Down
8 changes: 0 additions & 8 deletions src/ASPNETHandler/SessionState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,8 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using ScriptEngine.Machine;
using ScriptEngine.Machine.Contexts;
using ScriptEngine.HostedScript.Library;
using ScriptEngine.HostedScript.Library.Binary;

/// <summary>
///
Expand Down
2 changes: 0 additions & 2 deletions src/Component/ISimple.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/

using System;

namespace Component
{
public interface ISimple
Expand Down
2 changes: 0 additions & 2 deletions src/Component/SimpleClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/

using System;

using ScriptEngine.Machine;
using ScriptEngine.Machine.Contexts;

Expand Down
1 change: 0 additions & 1 deletion src/Component/SimpleCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/

using System;
using System.Collections;
using System.Collections.Generic;

Expand Down
2 changes: 0 additions & 2 deletions src/Component/SimpleEnum.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/

using System;

using ScriptEngine;

namespace Component
Expand Down
1 change: 0 additions & 1 deletion src/NUnitTests/DebugVariablesTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ This Source Code Form is subject to the terms of the

using System.Linq;
using NUnit.Framework;
using NUnit.Framework.Constraints;
using OneScript.DebugServices;
using ScriptEngine;
using ScriptEngine.HostedScript.Library;
Expand Down
1 change: 0 additions & 1 deletion src/NUnitTests/DynamicObjectTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/

using System.Dynamic;
using NUnit.Framework;
using ScriptEngine.HostedScript.Library;

Expand Down
4 changes: 0 additions & 4 deletions src/NUnitTests/EngineWrapperNUnit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ This Source Code Form is subject to the terms of the
----------------------------------------------------------*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using ScriptEngine;
using ScriptEngine.Environment;
using ScriptEngine.HostedScript;
Expand Down
1 change: 0 additions & 1 deletion src/NUnitTests/TestContextClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/

using ScriptEngine.Machine;
using ScriptEngine.Machine.Contexts;

namespace NUnitTests
Expand Down
7 changes: 0 additions & 7 deletions src/NUnitTests/TestNullConversion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,8 @@ This Source Code Form is subject to the terms of the
----------------------------------------------------------*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using ScriptEngine.Machine;
using ScriptEngine.Machine.Contexts;
using ScriptEngine.HostedScript.Library;
using ScriptEngine.HostedScript.Library.Binary;
using NUnit.Framework;

namespace NUnitTests
Expand Down
1 change: 0 additions & 1 deletion src/NUnitTests/TestRunnerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/

using System;
using System.IO;

using NUnit.Framework;
Expand Down
3 changes: 0 additions & 3 deletions src/OneScript.DebugProtocol/Binder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ This Source Code Form is subject to the terms of the

#if NETFRAMEWORK
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Text;

namespace OneScript.DebugProtocol
{
Expand Down
2 changes: 0 additions & 2 deletions src/OneScript.DebugProtocol/EvaluatedVariableLocator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ This Source Code Form is subject to the terms of the
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OneScript.DebugProtocol
{
Expand Down
4 changes: 0 additions & 4 deletions src/OneScript.DebugProtocol/IDebuggerService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
#if NETFRAMEWORK
using System.ServiceModel;
#endif
Expand Down
2 changes: 0 additions & 2 deletions src/OneScript.DebugProtocol/StackFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ This Source Code Form is subject to the terms of the
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace OneScript.DebugProtocol
{
Expand Down
3 changes: 0 additions & 3 deletions src/OneScript.DebugProtocol/ThreadStopReason.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OneScript.DebugProtocol
{
Expand Down
3 changes: 0 additions & 3 deletions src/OneScript.DebugProtocol/Variable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace OneScript.DebugProtocol
{
Expand Down
2 changes: 0 additions & 2 deletions src/OneScript.DebugProtocol/VariableLocator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ This Source Code Form is subject to the terms of the
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OneScript.DebugProtocol
{
Expand Down
4 changes: 0 additions & 4 deletions src/OneScript.DebugServices/BinaryTcpDebugServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/

using System;
using System.Net.Sockets;
using OneScript.DebugProtocol;
using OneScript.DebugProtocol.Abstractions;
using OneScript.DebugProtocol.TcpServer;
using ScriptEngine;
using ScriptEngine.Machine;

namespace OneScript.DebugServices
Expand Down
1 change: 0 additions & 1 deletion src/OneScript.DebugServices/DefaultVariableVisualizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ This Source Code Form is subject to the terms of the

using System;
using System.Collections.Generic;
using System.Linq;
using OneScript.DebugProtocol;
using ScriptEngine.Machine;
using ScriptEngine.Machine.Contexts;
Expand Down
1 change: 0 additions & 1 deletion src/OneScript.DebugServices/TcpEventCallbackChannel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ This Source Code Form is subject to the terms of the
----------------------------------------------------------*/

using System;
using System.Net.Sockets;
using OneScript.DebugProtocol;
using OneScript.DebugProtocol.Abstractions;
using OneScript.DebugProtocol.TcpServer;
Expand Down
1 change: 0 additions & 1 deletion src/OneScript.Language/LanguageDef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ This Source Code Form is subject to the terms of the
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
using OneScript.Language.LexicalAnalysis;

namespace OneScript.Language
Expand Down
1 change: 0 additions & 1 deletion src/OneScriptDocumenter/AssemblyLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
Expand Down
1 change: 0 additions & 1 deletion src/ScriptEngine.HostedScript/DefaultEventProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ This Source Code Form is subject to the terms of the
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using ScriptEngine.Machine;
using ScriptEngine.Machine.Contexts;

Expand Down
2 changes: 1 addition & 1 deletion src/ScriptEngine.HostedScript/Library/ArrayImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This Source Code Form is subject to the terms of the
was not distributed with this file, You can obtain one
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/
using System;

using System.Collections.Generic;
using ScriptEngine.Machine;
using ScriptEngine.Machine.Contexts;
Expand Down
2 changes: 1 addition & 1 deletion src/ScriptEngine.HostedScript/Library/FixedArrayImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This Source Code Form is subject to the terms of the
was not distributed with this file, You can obtain one
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/
using System;

using System.Collections.Generic;
using ScriptEngine.Machine;
using ScriptEngine.Machine.Contexts;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ This Source Code Form is subject to the terms of the
----------------------------------------------------------*/

using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using ScriptEngine.Machine;
using ScriptEngine.Machine.Contexts;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ This Source Code Form is subject to the terms of the
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
using ScriptEngine.Machine;
Expand Down
2 changes: 0 additions & 2 deletions src/ScriptEngine.HostedScript/Library/Tasks/TaskStateEnum.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ This Source Code Form is subject to the terms of the
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/

using ScriptEngine.Machine.Contexts;

namespace ScriptEngine.HostedScript.Library.Tasks
{
[EnumerationType("СостояниеФоновогоЗадания", "BackgroundJobState")]
Expand Down
Loading

0 comments on commit c343f53

Please sign in to comment.