diff --git a/Sources/Directory.Build.props b/Sources/Directory.Build.props index e521e4d6..a16a7677 100644 --- a/Sources/Directory.Build.props +++ b/Sources/Directory.Build.props @@ -9,6 +9,7 @@ ..\SqlDatabase.snk latest enable + enable false en @@ -39,4 +40,11 @@ + + + + + + + \ No newline at end of file diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/AssemblyScriptFactoryTest.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/AssemblyScriptFactoryTest.cs index cacb2657..9d155a44 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/AssemblyScriptFactoryTest.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/AssemblyScriptFactoryTest.cs @@ -1,5 +1,4 @@ -using System.IO; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; using SqlDatabase.FileSystem; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/AssemblyScriptTest.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/AssemblyScriptTest.cs index 0a1a2862..e152b58c 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/AssemblyScriptTest.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/AssemblyScriptTest.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.IO; -using System.Text; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/DbCommandStub.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/DbCommandStub.cs index bf46fbc9..4ec4232a 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/DbCommandStub.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/DbCommandStub.cs @@ -1,6 +1,4 @@ -using System; -using System.Data; -using System.Data.Common; +using System.Data.Common; #pragma warning disable CS8765 // Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/DefaultEntryPointTest.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/DefaultEntryPointTest.cs index 1444bc1b..ad11012d 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/DefaultEntryPointTest.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/DefaultEntryPointTest.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/EntryPointResolverTest.Stubs.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/EntryPointResolverTest.Stubs.cs index 399a8a9d..9dc72d8f 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/EntryPointResolverTest.Stubs.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/EntryPointResolverTest.Stubs.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; +using System.Data.SqlClient; namespace SqlDatabase.Adapter.AssemblyScripts; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/EntryPointResolverTest.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/EntryPointResolverTest.cs index 50f5c53b..71ec4a31 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/EntryPointResolverTest.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/EntryPointResolverTest.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverCommandDictionaryTest.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverCommandDictionaryTest.cs index d2602bf4..b25de909 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverCommandDictionaryTest.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverCommandDictionaryTest.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; -using System.Data; -using System.Reflection; +using System.Reflection; using Moq; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverCommandTest.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverCommandTest.cs index 69455dc0..74a57d71 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverCommandTest.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverCommandTest.cs @@ -1,5 +1,4 @@ -using System.Data; -using System.Reflection; +using System.Reflection; using Moq; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverDbConnectionTest.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverDbConnectionTest.cs index 06cea07c..aa653ed4 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverDbConnectionTest.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverDbConnectionTest.cs @@ -1,5 +1,4 @@ -using System.Data; -using System.Reflection; +using System.Reflection; using Moq; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverDictionaryCommandTest.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverDictionaryCommandTest.cs index e4cf7d84..5021fa2d 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverDictionaryCommandTest.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverDictionaryCommandTest.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; -using System.Data; -using System.Reflection; +using System.Reflection; using Moq; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverSqlConnectionTest.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverSqlConnectionTest.cs index b7995697..d8245db5 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverSqlConnectionTest.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/ExecuteMethodResolverSqlConnectionTest.cs @@ -1,5 +1,4 @@ -using System.Data; -using System.Data.SqlClient; +using System.Data.SqlClient; using System.Reflection; using Moq; using NUnit.Framework; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/NetCore/NetCoreSubDomainTest.StepWithSubDomain.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/NetCore/NetCoreSubDomainTest.StepWithSubDomain.cs index 6d3c7d8c..b4feaddb 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/NetCore/NetCoreSubDomainTest.StepWithSubDomain.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts.Test/NetCore/NetCoreSubDomainTest.StepWithSubDomain.cs @@ -1,7 +1,4 @@ -using System; -using System.Data; - -namespace SqlDatabase.Adapter.AssemblyScripts.NetCore; +namespace SqlDatabase.Adapter.AssemblyScripts.NetCore; public partial class NetCoreSubDomainTest { diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/AssemblyScript.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/AssemblyScript.cs index ab3360f4..2f73a1ac 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/AssemblyScript.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/AssemblyScript.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.IO; - -namespace SqlDatabase.Adapter.AssemblyScripts; +namespace SqlDatabase.Adapter.AssemblyScripts; internal sealed class AssemblyScript : IScript { diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/AssemblyScriptFactory.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/AssemblyScriptFactory.cs index 2b67dd46..ae1e9b34 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/AssemblyScriptFactory.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/AssemblyScriptFactory.cs @@ -1,7 +1,4 @@ -using System; -using System.IO; -using System.Linq; -using SqlDatabase.FileSystem; +using SqlDatabase.FileSystem; namespace SqlDatabase.Adapter.AssemblyScripts; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/ConsoleListener.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/ConsoleListener.cs index 1909d299..da5fa9f0 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/ConsoleListener.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/ConsoleListener.cs @@ -1,9 +1,4 @@ -using System; -using System.Diagnostics.CodeAnalysis; -using System.IO; -using System.Text; - -namespace SqlDatabase.Adapter.AssemblyScripts; +namespace SqlDatabase.Adapter.AssemblyScripts; internal sealed class ConsoleListener : TextWriter { diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/DefaultEntryPoint.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/DefaultEntryPoint.cs index 5870beae..2ce2c842 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/DefaultEntryPoint.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/DefaultEntryPoint.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; - -namespace SqlDatabase.Adapter.AssemblyScripts; +namespace SqlDatabase.Adapter.AssemblyScripts; internal sealed class DefaultEntryPoint : IEntryPoint { diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/EntryPointResolver.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/EntryPointResolver.cs index d7d0208a..8fd2b56d 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/EntryPointResolver.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/EntryPointResolver.cs @@ -1,7 +1,4 @@ -using System; -using System.Linq; -using System.Reflection; -using System.Text; +using System.Reflection; namespace SqlDatabase.Adapter.AssemblyScripts; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverBase.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverBase.cs index 9495dfc9..da1ad864 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverBase.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverBase.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Reflection; +using System.Reflection; namespace SqlDatabase.Adapter.AssemblyScripts; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverCommand.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverCommand.cs index 8c80f335..62f3c756 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverCommand.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverCommand.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Reflection; +using System.Reflection; namespace SqlDatabase.Adapter.AssemblyScripts; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverCommandDictionary.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverCommandDictionary.cs index 37881270..e0353f0f 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverCommandDictionary.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverCommandDictionary.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Reflection; +using System.Reflection; namespace SqlDatabase.Adapter.AssemblyScripts; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverDbConnection.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverDbConnection.cs index e5d156ef..6fc8d348 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverDbConnection.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverDbConnection.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Reflection; +using System.Reflection; namespace SqlDatabase.Adapter.AssemblyScripts; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverDictionaryCommand.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverDictionaryCommand.cs index 891c7d5c..14bc0025 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverDictionaryCommand.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverDictionaryCommand.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Reflection; +using System.Reflection; namespace SqlDatabase.Adapter.AssemblyScripts; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverSqlConnection.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverSqlConnection.cs index a4ed5e68..651422ad 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverSqlConnection.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/ExecuteMethodResolverSqlConnection.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq.Expressions; +using System.Linq.Expressions; using System.Reflection; namespace SqlDatabase.Adapter.AssemblyScripts; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/IEntryPoint.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/IEntryPoint.cs index 3e2dcde7..6ab6412d 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/IEntryPoint.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/IEntryPoint.cs @@ -1,7 +1,4 @@ -using System.Collections.Generic; -using System.Data; - -namespace SqlDatabase.Adapter.AssemblyScripts; +namespace SqlDatabase.Adapter.AssemblyScripts; internal interface IEntryPoint { diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/ISubDomain.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/ISubDomain.cs index 54bc68ae..9f4d9b18 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/ISubDomain.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/ISubDomain.cs @@ -1,7 +1,4 @@ -using System; -using System.Data; - -namespace SqlDatabase.Adapter.AssemblyScripts; +namespace SqlDatabase.Adapter.AssemblyScripts; internal interface ISubDomain : IDisposable { diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/AppDomainAdapter.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/AppDomainAdapter.cs index 47aa6411..ed3c332e 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/AppDomainAdapter.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/AppDomainAdapter.cs @@ -1,6 +1,4 @@ -using System; -using System.Linq; -using System.Linq.Expressions; +using System.Linq.Expressions; using System.Reflection; using System.Runtime.InteropServices; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/DomainAgent.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/DomainAgent.cs index cc530ae1..e5734df1 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/DomainAgent.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/DomainAgent.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Diagnostics; -using System.IO; -using System.Reflection; +using System.Reflection; namespace SqlDatabase.Adapter.AssemblyScripts.Net472; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/DomainDirectory.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/DomainDirectory.cs index fb6a52ad..1c4c32f6 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/DomainDirectory.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/DomainDirectory.cs @@ -1,7 +1,4 @@ -using System; -using System.IO; - -namespace SqlDatabase.Adapter.AssemblyScripts.Net472; +namespace SqlDatabase.Adapter.AssemblyScripts.Net472; internal sealed class DomainDirectory : IDisposable { diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/LoggerProxy.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/LoggerProxy.cs index 824ccf2e..07302cc9 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/LoggerProxy.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/LoggerProxy.cs @@ -1,7 +1,4 @@ -using System; -using System.Diagnostics; - -namespace SqlDatabase.Adapter.AssemblyScripts.Net472; +namespace SqlDatabase.Adapter.AssemblyScripts.Net472; internal sealed class LoggerProxy : TraceListener, ILogger { diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/Net472SubDomain.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/Net472SubDomain.cs index 81909fff..3f289bd5 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/Net472SubDomain.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/Net472/Net472SubDomain.cs @@ -1,8 +1,4 @@ -using System; -using System.Data; -using System.IO; - -namespace SqlDatabase.Adapter.AssemblyScripts.Net472; +namespace SqlDatabase.Adapter.AssemblyScripts.Net472; internal sealed class Net472SubDomain : ISubDomain { diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/NetCore/AssemblyContext.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/NetCore/AssemblyContext.cs index 01d47ab0..fcb671bf 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/NetCore/AssemblyContext.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/NetCore/AssemblyContext.cs @@ -1,6 +1,4 @@ #if !NET472 -using System; -using System.IO; using System.Reflection; using System.Runtime.Loader; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/NetCore/NetCoreSubDomain.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/NetCore/NetCoreSubDomain.cs index b1731894..576672ec 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/NetCore/NetCoreSubDomain.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/NetCore/NetCoreSubDomain.cs @@ -1,7 +1,4 @@ -using System; -using System.Data; - -namespace SqlDatabase.Adapter.AssemblyScripts.NetCore; +namespace SqlDatabase.Adapter.AssemblyScripts.NetCore; internal sealed class NetCoreSubDomain : ISubDomain { diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/SubDomainFactory.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/SubDomainFactory.cs index eac53a2f..c37abe46 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/SubDomainFactory.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/SubDomainFactory.cs @@ -1,5 +1,4 @@ -using System; -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace SqlDatabase.Adapter.AssemblyScripts; diff --git a/Sources/SqlDatabase.Adapter.AssemblyScripts/VariablesProxy.cs b/Sources/SqlDatabase.Adapter.AssemblyScripts/VariablesProxy.cs index de7598a2..e14c3d66 100644 --- a/Sources/SqlDatabase.Adapter.AssemblyScripts/VariablesProxy.cs +++ b/Sources/SqlDatabase.Adapter.AssemblyScripts/VariablesProxy.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; +using System.Collections; namespace SqlDatabase.Adapter.AssemblyScripts; diff --git a/Sources/SqlDatabase.Adapter.MsSql.Test/MsSqlDataExporterTest.cs b/Sources/SqlDatabase.Adapter.MsSql.Test/MsSqlDataExporterTest.cs index ce522bdf..7f1cf61b 100644 --- a/Sources/SqlDatabase.Adapter.MsSql.Test/MsSqlDataExporterTest.cs +++ b/Sources/SqlDatabase.Adapter.MsSql.Test/MsSqlDataExporterTest.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data.SqlClient; -using System.IO; -using System.Text; +using System.Data.SqlClient; using Moq; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.Adapter.MsSql.Test/MsSqlDatabaseAdapterTest.cs b/Sources/SqlDatabase.Adapter.MsSql.Test/MsSqlDatabaseAdapterTest.cs index d3b86445..369cdaec 100644 --- a/Sources/SqlDatabase.Adapter.MsSql.Test/MsSqlDatabaseAdapterTest.cs +++ b/Sources/SqlDatabase.Adapter.MsSql.Test/MsSqlDatabaseAdapterTest.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; -using System.Data; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.Adapter.MsSql.Test/MsSqlTextReaderTest.cs b/Sources/SqlDatabase.Adapter.MsSql.Test/MsSqlTextReaderTest.cs index 5a10012c..75dcceaf 100644 --- a/Sources/SqlDatabase.Adapter.MsSql.Test/MsSqlTextReaderTest.cs +++ b/Sources/SqlDatabase.Adapter.MsSql.Test/MsSqlTextReaderTest.cs @@ -1,7 +1,4 @@ -using System.Collections.Generic; -using System.IO; -using System.Text; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.Adapter.MsSql.Test/MsSqlWriterTest.cs b/Sources/SqlDatabase.Adapter.MsSql.Test/MsSqlWriterTest.cs index ba1579e6..25acd4cc 100644 --- a/Sources/SqlDatabase.Adapter.MsSql.Test/MsSqlWriterTest.cs +++ b/Sources/SqlDatabase.Adapter.MsSql.Test/MsSqlWriterTest.cs @@ -1,7 +1,4 @@ -using System; -using System.IO; -using System.Text; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.Adapter.MsSql.Test/TextScriptOutputMsSqlTest.cs b/Sources/SqlDatabase.Adapter.MsSql.Test/TextScriptOutputMsSqlTest.cs index 4fd8f8dd..a1bee63d 100644 --- a/Sources/SqlDatabase.Adapter.MsSql.Test/TextScriptOutputMsSqlTest.cs +++ b/Sources/SqlDatabase.Adapter.MsSql.Test/TextScriptOutputMsSqlTest.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data.SqlClient; +using System.Data.SqlClient; using Moq; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.Adapter.MsSql/MsSqlDatabaseAdapter.cs b/Sources/SqlDatabase.Adapter.MsSql/MsSqlDatabaseAdapter.cs index 7b3f9899..7f0cfb1c 100644 --- a/Sources/SqlDatabase.Adapter.MsSql/MsSqlDatabaseAdapter.cs +++ b/Sources/SqlDatabase.Adapter.MsSql/MsSqlDatabaseAdapter.cs @@ -1,6 +1,4 @@ -using System.Data; -using System.Data.SqlClient; -using System.IO; +using System.Data.SqlClient; namespace SqlDatabase.Adapter.MsSql; diff --git a/Sources/SqlDatabase.Adapter.MsSql/MsSqlDatabaseAdapterFactory.cs b/Sources/SqlDatabase.Adapter.MsSql/MsSqlDatabaseAdapterFactory.cs index dc499f62..891524a1 100644 --- a/Sources/SqlDatabase.Adapter.MsSql/MsSqlDatabaseAdapterFactory.cs +++ b/Sources/SqlDatabase.Adapter.MsSql/MsSqlDatabaseAdapterFactory.cs @@ -1,5 +1,4 @@ -using System; -using System.Data.Common; +using System.Data.Common; using System.Data.SqlClient; namespace SqlDatabase.Adapter.MsSql; diff --git a/Sources/SqlDatabase.Adapter.MsSql/MsSqlTextReader.cs b/Sources/SqlDatabase.Adapter.MsSql/MsSqlTextReader.cs index 8c3be1e9..3a7c9bc2 100644 --- a/Sources/SqlDatabase.Adapter.MsSql/MsSqlTextReader.cs +++ b/Sources/SqlDatabase.Adapter.MsSql/MsSqlTextReader.cs @@ -1,8 +1,4 @@ -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Text.RegularExpressions; +using System.Text.RegularExpressions; namespace SqlDatabase.Adapter.MsSql; diff --git a/Sources/SqlDatabase.Adapter.MsSql/MsSqlWriter.cs b/Sources/SqlDatabase.Adapter.MsSql/MsSqlWriter.cs index 2b873c97..5e5b9983 100644 --- a/Sources/SqlDatabase.Adapter.MsSql/MsSqlWriter.cs +++ b/Sources/SqlDatabase.Adapter.MsSql/MsSqlWriter.cs @@ -1,9 +1,4 @@ -using System; -using System.Data; -using System.Globalization; -using System.IO; -using System.Linq; -using System.Text; +using System.Globalization; namespace SqlDatabase.Adapter.MsSql; diff --git a/Sources/SqlDatabase.Adapter.MySql.Test/MySqlDataExporterTest.cs b/Sources/SqlDatabase.Adapter.MySql.Test/MySqlDataExporterTest.cs index 4e1d9781..f4006461 100644 --- a/Sources/SqlDatabase.Adapter.MySql.Test/MySqlDataExporterTest.cs +++ b/Sources/SqlDatabase.Adapter.MySql.Test/MySqlDataExporterTest.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Text; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; using SqlDatabase.Adapter.Sql.Export; diff --git a/Sources/SqlDatabase.Adapter.MySql.Test/MySqlDatabaseAdapterTest.cs b/Sources/SqlDatabase.Adapter.MySql.Test/MySqlDatabaseAdapterTest.cs index 0a0528c7..4c777f4c 100644 --- a/Sources/SqlDatabase.Adapter.MySql.Test/MySqlDatabaseAdapterTest.cs +++ b/Sources/SqlDatabase.Adapter.MySql.Test/MySqlDatabaseAdapterTest.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; -using System.Data; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.Adapter.MySql.Test/MySqlWriterTest.cs b/Sources/SqlDatabase.Adapter.MySql.Test/MySqlWriterTest.cs index c5bddbd1..2177a9be 100644 --- a/Sources/SqlDatabase.Adapter.MySql.Test/MySqlWriterTest.cs +++ b/Sources/SqlDatabase.Adapter.MySql.Test/MySqlWriterTest.cs @@ -1,7 +1,4 @@ -using System; -using System.IO; -using System.Text; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.Adapter.MySql.Test/TextScriptOutputMySqlTest.cs b/Sources/SqlDatabase.Adapter.MySql.Test/TextScriptOutputMySqlTest.cs index 7c2bbf2b..0b73aa24 100644 --- a/Sources/SqlDatabase.Adapter.MySql.Test/TextScriptOutputMySqlTest.cs +++ b/Sources/SqlDatabase.Adapter.MySql.Test/TextScriptOutputMySqlTest.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using Moq; +using Moq; using MySqlConnector; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.Adapter.MySql/MySqlDatabaseAdapter.cs b/Sources/SqlDatabase.Adapter.MySql/MySqlDatabaseAdapter.cs index 08772aae..18a206cc 100644 --- a/Sources/SqlDatabase.Adapter.MySql/MySqlDatabaseAdapter.cs +++ b/Sources/SqlDatabase.Adapter.MySql/MySqlDatabaseAdapter.cs @@ -1,6 +1,4 @@ -using System.Data; -using System.IO; -using MySqlConnector; +using MySqlConnector; namespace SqlDatabase.Adapter.MySql; diff --git a/Sources/SqlDatabase.Adapter.MySql/MySqlDatabaseAdapterFactory.cs b/Sources/SqlDatabase.Adapter.MySql/MySqlDatabaseAdapterFactory.cs index 9645b99c..787e9330 100644 --- a/Sources/SqlDatabase.Adapter.MySql/MySqlDatabaseAdapterFactory.cs +++ b/Sources/SqlDatabase.Adapter.MySql/MySqlDatabaseAdapterFactory.cs @@ -1,5 +1,4 @@ -using System; -using System.Data.Common; +using System.Data.Common; using MySqlConnector; namespace SqlDatabase.Adapter.MySql; diff --git a/Sources/SqlDatabase.Adapter.MySql/MySqlTextReader.cs b/Sources/SqlDatabase.Adapter.MySql/MySqlTextReader.cs index d8de984d..d39240a9 100644 --- a/Sources/SqlDatabase.Adapter.MySql/MySqlTextReader.cs +++ b/Sources/SqlDatabase.Adapter.MySql/MySqlTextReader.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; +using System.Text.RegularExpressions; namespace SqlDatabase.Adapter.MySql; diff --git a/Sources/SqlDatabase.Adapter.MySql/MySqlWriter.cs b/Sources/SqlDatabase.Adapter.MySql/MySqlWriter.cs index 9ce1136b..67742b88 100644 --- a/Sources/SqlDatabase.Adapter.MySql/MySqlWriter.cs +++ b/Sources/SqlDatabase.Adapter.MySql/MySqlWriter.cs @@ -1,9 +1,4 @@ -using System; -using System.Data; -using System.Globalization; -using System.IO; -using System.Linq; -using System.Text; +using System.Globalization; namespace SqlDatabase.Adapter.MySql; diff --git a/Sources/SqlDatabase.Adapter.PgSql.Test/PgSqlDataExporterTest.cs b/Sources/SqlDatabase.Adapter.PgSql.Test/PgSqlDataExporterTest.cs index 45e2909b..2de58af2 100644 --- a/Sources/SqlDatabase.Adapter.PgSql.Test/PgSqlDataExporterTest.cs +++ b/Sources/SqlDatabase.Adapter.PgSql.Test/PgSqlDataExporterTest.cs @@ -1,9 +1,5 @@ -using System; -using System.Collections; -using System.Collections.Generic; +using System.Collections; using System.Dynamic; -using System.IO; -using System.Text; using Moq; using Npgsql; using NpgsqlTypes; diff --git a/Sources/SqlDatabase.Adapter.PgSql.Test/PgSqlDatabaseAdapterTest.cs b/Sources/SqlDatabase.Adapter.PgSql.Test/PgSqlDatabaseAdapterTest.cs index 7f9e5895..f99034b5 100644 --- a/Sources/SqlDatabase.Adapter.PgSql.Test/PgSqlDatabaseAdapterTest.cs +++ b/Sources/SqlDatabase.Adapter.PgSql.Test/PgSqlDatabaseAdapterTest.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; -using System.Data; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.Adapter.PgSql.Test/PgSqlWriterTest.cs b/Sources/SqlDatabase.Adapter.PgSql.Test/PgSqlWriterTest.cs index 7e4bacfa..02a1f774 100644 --- a/Sources/SqlDatabase.Adapter.PgSql.Test/PgSqlWriterTest.cs +++ b/Sources/SqlDatabase.Adapter.PgSql.Test/PgSqlWriterTest.cs @@ -1,9 +1,5 @@ -using System; -using System.Collections; -using System.Collections.Generic; +using System.Collections; using System.Dynamic; -using System.IO; -using System.Text; using NpgsqlTypes; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.Adapter.PgSql.Test/TextScriptOutputPgSqlTest.cs b/Sources/SqlDatabase.Adapter.PgSql.Test/TextScriptOutputPgSqlTest.cs index 051bb098..407d095b 100644 --- a/Sources/SqlDatabase.Adapter.PgSql.Test/TextScriptOutputPgSqlTest.cs +++ b/Sources/SqlDatabase.Adapter.PgSql.Test/TextScriptOutputPgSqlTest.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using Moq; +using Moq; using Npgsql; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.Adapter.PgSql/PgSqlDatabaseAdapter.cs b/Sources/SqlDatabase.Adapter.PgSql/PgSqlDatabaseAdapter.cs index a82d4ca8..3892b245 100644 --- a/Sources/SqlDatabase.Adapter.PgSql/PgSqlDatabaseAdapter.cs +++ b/Sources/SqlDatabase.Adapter.PgSql/PgSqlDatabaseAdapter.cs @@ -1,6 +1,4 @@ -using System.Data; -using System.IO; -using Npgsql; +using Npgsql; namespace SqlDatabase.Adapter.PgSql; diff --git a/Sources/SqlDatabase.Adapter.PgSql/PgSqlDatabaseAdapterFactory.cs b/Sources/SqlDatabase.Adapter.PgSql/PgSqlDatabaseAdapterFactory.cs index 15d85c2b..7dc3d357 100644 --- a/Sources/SqlDatabase.Adapter.PgSql/PgSqlDatabaseAdapterFactory.cs +++ b/Sources/SqlDatabase.Adapter.PgSql/PgSqlDatabaseAdapterFactory.cs @@ -1,5 +1,4 @@ -using System; -using System.Data.Common; +using System.Data.Common; using Npgsql; namespace SqlDatabase.Adapter.PgSql; diff --git a/Sources/SqlDatabase.Adapter.PgSql/PgSqlTextReader.cs b/Sources/SqlDatabase.Adapter.PgSql/PgSqlTextReader.cs index ffd84fee..5cac7d50 100644 --- a/Sources/SqlDatabase.Adapter.PgSql/PgSqlTextReader.cs +++ b/Sources/SqlDatabase.Adapter.PgSql/PgSqlTextReader.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; +using System.Text.RegularExpressions; namespace SqlDatabase.Adapter.PgSql; diff --git a/Sources/SqlDatabase.Adapter.PgSql/PgSqlWriter.cs b/Sources/SqlDatabase.Adapter.PgSql/PgSqlWriter.cs index 43c4e283..124f34d1 100644 --- a/Sources/SqlDatabase.Adapter.PgSql/PgSqlWriter.cs +++ b/Sources/SqlDatabase.Adapter.PgSql/PgSqlWriter.cs @@ -1,13 +1,7 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Data; +using System.Collections; using System.Dynamic; using System.Globalization; -using System.IO; -using System.Linq; using System.Reflection; -using System.Text; using NpgsqlTypes; namespace SqlDatabase.Adapter.PgSql; diff --git a/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/DiagnosticsToolsTest.cs b/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/DiagnosticsToolsTest.cs index bc4bbf79..5c0a8318 100644 --- a/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/DiagnosticsToolsTest.cs +++ b/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/DiagnosticsToolsTest.cs @@ -1,6 +1,4 @@ -using System.Diagnostics; -using System.IO; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/InstallationSeekerTest.cs b/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/InstallationSeekerTest.cs index 99329240..05fd02dc 100644 --- a/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/InstallationSeekerTest.cs +++ b/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/InstallationSeekerTest.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Reflection; +using System.Reflection; using Moq; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/PowerShellScriptFactoryTest.cs b/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/PowerShellScriptFactoryTest.cs index aae7b12b..3c2dcd73 100644 --- a/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/PowerShellScriptFactoryTest.cs +++ b/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/PowerShellScriptFactoryTest.cs @@ -1,5 +1,4 @@ -using System.IO; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; using SqlDatabase.FileSystem; diff --git a/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/PowerShellScriptTest.cs b/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/PowerShellScriptTest.cs index f69fa0b8..14fef127 100644 --- a/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/PowerShellScriptTest.cs +++ b/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/PowerShellScriptTest.cs @@ -1,8 +1,4 @@ -using System.Collections.Generic; -using System.Data; -using System.IO; -using System.Text; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/PowerShellTest.cs b/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/PowerShellTest.cs index f81d5e89..a055b197 100644 --- a/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/PowerShellTest.cs +++ b/Sources/SqlDatabase.Adapter.PowerShellScripts.Test/PowerShellTest.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.IO; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.Adapter.PowerShellScripts/DiagnosticsTools.cs b/Sources/SqlDatabase.Adapter.PowerShellScripts/DiagnosticsTools.cs index 269719e7..fdcd0abe 100644 --- a/Sources/SqlDatabase.Adapter.PowerShellScripts/DiagnosticsTools.cs +++ b/Sources/SqlDatabase.Adapter.PowerShellScripts/DiagnosticsTools.cs @@ -1,6 +1,4 @@ -using System; -using System.Globalization; -using System.IO; +using System.Globalization; using System.Runtime.InteropServices; namespace SqlDatabase.Adapter.PowerShellScripts; diff --git a/Sources/SqlDatabase.Adapter.PowerShellScripts/IPowerShell.cs b/Sources/SqlDatabase.Adapter.PowerShellScripts/IPowerShell.cs index 0f3bd82a..46874473 100644 --- a/Sources/SqlDatabase.Adapter.PowerShellScripts/IPowerShell.cs +++ b/Sources/SqlDatabase.Adapter.PowerShellScripts/IPowerShell.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SqlDatabase.Adapter.PowerShellScripts; +namespace SqlDatabase.Adapter.PowerShellScripts; internal interface IPowerShell { diff --git a/Sources/SqlDatabase.Adapter.PowerShellScripts/InstallationInfo.cs b/Sources/SqlDatabase.Adapter.PowerShellScripts/InstallationInfo.cs index b81c8cc0..345c144e 100644 --- a/Sources/SqlDatabase.Adapter.PowerShellScripts/InstallationInfo.cs +++ b/Sources/SqlDatabase.Adapter.PowerShellScripts/InstallationInfo.cs @@ -1,7 +1,4 @@ -using System; -using System.Diagnostics; - -namespace SqlDatabase.Adapter.PowerShellScripts; +namespace SqlDatabase.Adapter.PowerShellScripts; [DebuggerDisplay("{Version}")] internal readonly struct InstallationInfo : IComparable diff --git a/Sources/SqlDatabase.Adapter.PowerShellScripts/InstallationSeeker.cs b/Sources/SqlDatabase.Adapter.PowerShellScripts/InstallationSeeker.cs index 989409f3..214d77e6 100644 --- a/Sources/SqlDatabase.Adapter.PowerShellScripts/InstallationSeeker.cs +++ b/Sources/SqlDatabase.Adapter.PowerShellScripts/InstallationSeeker.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Diagnostics.CodeAnalysis; -using System.IO; - -namespace SqlDatabase.Adapter.PowerShellScripts; +namespace SqlDatabase.Adapter.PowerShellScripts; internal static class InstallationSeeker { diff --git a/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShell.cs b/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShell.cs index f7885734..ed3f8827 100644 --- a/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShell.cs +++ b/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShell.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Management.Automation; +using System.Management.Automation; using System.Management.Automation.Runspaces; namespace SqlDatabase.Adapter.PowerShellScripts; diff --git a/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellFactory.cs b/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellFactory.cs index 3d9761ce..533ce381 100644 --- a/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellFactory.cs +++ b/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellFactory.cs @@ -1,6 +1,4 @@ -using System; - -namespace SqlDatabase.Adapter.PowerShellScripts; +namespace SqlDatabase.Adapter.PowerShellScripts; internal sealed partial class PowerShellFactory : IPowerShellFactory { diff --git a/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellFactory.hosted.cs b/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellFactory.hosted.cs index ef3d7c27..19d30942 100644 --- a/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellFactory.hosted.cs +++ b/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellFactory.hosted.cs @@ -1,6 +1,4 @@ #if NET5_0_OR_GREATER -using System; -using System.IO; using System.Management.Automation; using System.Reflection; using System.Runtime.CompilerServices; diff --git a/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellScript.cs b/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellScript.cs index b42800ec..0cf77f02 100644 --- a/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellScript.cs +++ b/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellScript.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.IO; - -namespace SqlDatabase.Adapter.PowerShellScripts; +namespace SqlDatabase.Adapter.PowerShellScripts; internal sealed class PowerShellScript : IScript { diff --git a/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellScriptFactory.cs b/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellScriptFactory.cs index 1f9cae8c..d3a02115 100644 --- a/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellScriptFactory.cs +++ b/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellScriptFactory.cs @@ -1,7 +1,4 @@ -using System; -using System.IO; -using System.Linq; -using SqlDatabase.FileSystem; +using SqlDatabase.FileSystem; namespace SqlDatabase.Adapter.PowerShellScripts; diff --git a/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellStreamsListener.cs b/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellStreamsListener.cs index 86b1164c..68ecc7d2 100644 --- a/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellStreamsListener.cs +++ b/Sources/SqlDatabase.Adapter.PowerShellScripts/PowerShellStreamsListener.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections; +using System.Collections; using System.Management.Automation; namespace SqlDatabase.Adapter.PowerShellScripts; diff --git a/Sources/SqlDatabase.Adapter.PowerShellScripts/ReflectionTools.cs b/Sources/SqlDatabase.Adapter.PowerShellScripts/ReflectionTools.cs index de42ed57..e4254da0 100644 --- a/Sources/SqlDatabase.Adapter.PowerShellScripts/ReflectionTools.cs +++ b/Sources/SqlDatabase.Adapter.PowerShellScripts/ReflectionTools.cs @@ -1,5 +1,4 @@ -using System; -using System.Reflection; +using System.Reflection; namespace SqlDatabase.Adapter.PowerShellScripts; diff --git a/Sources/SqlDatabase.Adapter.PowerShellScripts/VariablesProxy.cs b/Sources/SqlDatabase.Adapter.PowerShellScripts/VariablesProxy.cs index 126d2d53..282dffb8 100644 --- a/Sources/SqlDatabase.Adapter.PowerShellScripts/VariablesProxy.cs +++ b/Sources/SqlDatabase.Adapter.PowerShellScripts/VariablesProxy.cs @@ -1,5 +1,4 @@ -using System.Diagnostics.CodeAnalysis; -using System.Dynamic; +using System.Dynamic; namespace SqlDatabase.Adapter.PowerShellScripts; diff --git a/Sources/SqlDatabase.Adapter.Sql.Test/Export/DataExportLoggerTest.cs b/Sources/SqlDatabase.Adapter.Sql.Test/Export/DataExportLoggerTest.cs index 9879b9fd..f0bcfe09 100644 --- a/Sources/SqlDatabase.Adapter.Sql.Test/Export/DataExportLoggerTest.cs +++ b/Sources/SqlDatabase.Adapter.Sql.Test/Export/DataExportLoggerTest.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.Adapter.Sql.Test/SqlScriptVariableParserTest.cs b/Sources/SqlDatabase.Adapter.Sql.Test/SqlScriptVariableParserTest.cs index 460f74b1..97912f3e 100644 --- a/Sources/SqlDatabase.Adapter.Sql.Test/SqlScriptVariableParserTest.cs +++ b/Sources/SqlDatabase.Adapter.Sql.Test/SqlScriptVariableParserTest.cs @@ -1,5 +1,4 @@ -using System; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.Adapter.Sql.Test/TextScriptTest.cs b/Sources/SqlDatabase.Adapter.Sql.Test/TextScriptTest.cs index 60c0e49e..2ef5c17d 100644 --- a/Sources/SqlDatabase.Adapter.Sql.Test/TextScriptTest.cs +++ b/Sources/SqlDatabase.Adapter.Sql.Test/TextScriptTest.cs @@ -1,8 +1,4 @@ -using System.Collections.Generic; -using System.Data; -using System.IO; -using System.Linq; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.Adapter.Sql/Export/DataExportLogger.cs b/Sources/SqlDatabase.Adapter.Sql/Export/DataExportLogger.cs index 6869d2fa..225845b7 100644 --- a/Sources/SqlDatabase.Adapter.Sql/Export/DataExportLogger.cs +++ b/Sources/SqlDatabase.Adapter.Sql/Export/DataExportLogger.cs @@ -1,8 +1,4 @@ -using System; -using System.IO; -using System.Text; - -namespace SqlDatabase.Adapter.Sql.Export; +namespace SqlDatabase.Adapter.Sql.Export; public sealed class DataExportLogger : ILogger { diff --git a/Sources/SqlDatabase.Adapter.Sql/Export/DataExporter.cs b/Sources/SqlDatabase.Adapter.Sql/Export/DataExporter.cs index d5e78033..83aef727 100644 --- a/Sources/SqlDatabase.Adapter.Sql/Export/DataExporter.cs +++ b/Sources/SqlDatabase.Adapter.Sql/Export/DataExporter.cs @@ -1,6 +1,4 @@ -using System.Data; - -namespace SqlDatabase.Adapter.Sql.Export; +namespace SqlDatabase.Adapter.Sql.Export; public sealed class DataExporter : IDataExporter { diff --git a/Sources/SqlDatabase.Adapter.Sql/Export/IDataExporter.cs b/Sources/SqlDatabase.Adapter.Sql/Export/IDataExporter.cs index dce30582..88d0bd8d 100644 --- a/Sources/SqlDatabase.Adapter.Sql/Export/IDataExporter.cs +++ b/Sources/SqlDatabase.Adapter.Sql/Export/IDataExporter.cs @@ -1,6 +1,4 @@ -using System.Data; - -namespace SqlDatabase.Adapter.Sql.Export; +namespace SqlDatabase.Adapter.Sql.Export; public interface IDataExporter { diff --git a/Sources/SqlDatabase.Adapter.Sql/SqlScriptVariableParser.cs b/Sources/SqlDatabase.Adapter.Sql/SqlScriptVariableParser.cs index 1c491d63..c7dba0e7 100644 --- a/Sources/SqlDatabase.Adapter.Sql/SqlScriptVariableParser.cs +++ b/Sources/SqlDatabase.Adapter.Sql/SqlScriptVariableParser.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text.RegularExpressions; +using System.Text.RegularExpressions; namespace SqlDatabase.Adapter.Sql; diff --git a/Sources/SqlDatabase.Adapter.Sql/TextScript.cs b/Sources/SqlDatabase.Adapter.Sql/TextScript.cs index e0c96e6f..c5197921 100644 --- a/Sources/SqlDatabase.Adapter.Sql/TextScript.cs +++ b/Sources/SqlDatabase.Adapter.Sql/TextScript.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Globalization; -using System.IO; -using System.Linq; +using System.Globalization; namespace SqlDatabase.Adapter.Sql; diff --git a/Sources/SqlDatabase.Adapter.Sql/TextScriptFactory.cs b/Sources/SqlDatabase.Adapter.Sql/TextScriptFactory.cs index dd02563b..e54dc01b 100644 --- a/Sources/SqlDatabase.Adapter.Sql/TextScriptFactory.cs +++ b/Sources/SqlDatabase.Adapter.Sql/TextScriptFactory.cs @@ -1,5 +1,4 @@ -using System; -using SqlDatabase.FileSystem; +using SqlDatabase.FileSystem; namespace SqlDatabase.Adapter.Sql; diff --git a/Sources/SqlDatabase.Adapter/DataReaderTools.cs b/Sources/SqlDatabase.Adapter/DataReaderTools.cs index 6a5c845c..f64e4d10 100644 --- a/Sources/SqlDatabase.Adapter/DataReaderTools.cs +++ b/Sources/SqlDatabase.Adapter/DataReaderTools.cs @@ -1,6 +1,4 @@ -using System; - -namespace SqlDatabase.Adapter; +namespace SqlDatabase.Adapter; public static class DataReaderTools { diff --git a/Sources/SqlDatabase.Adapter/ExportTable.cs b/Sources/SqlDatabase.Adapter/ExportTable.cs index e80e4323..8716b6ce 100644 --- a/Sources/SqlDatabase.Adapter/ExportTable.cs +++ b/Sources/SqlDatabase.Adapter/ExportTable.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SqlDatabase.Adapter; +namespace SqlDatabase.Adapter; public sealed class ExportTable { diff --git a/Sources/SqlDatabase.Adapter/IDatabaseAdapter.cs b/Sources/SqlDatabase.Adapter/IDatabaseAdapter.cs index 4d45dfab..b06ec19e 100644 --- a/Sources/SqlDatabase.Adapter/IDatabaseAdapter.cs +++ b/Sources/SqlDatabase.Adapter/IDatabaseAdapter.cs @@ -1,7 +1,4 @@ -using System.Data; -using System.IO; - -namespace SqlDatabase.Adapter; +namespace SqlDatabase.Adapter; public interface IDatabaseAdapter { diff --git a/Sources/SqlDatabase.Adapter/ILogger.cs b/Sources/SqlDatabase.Adapter/ILogger.cs index bbc101a6..d23023f8 100644 --- a/Sources/SqlDatabase.Adapter/ILogger.cs +++ b/Sources/SqlDatabase.Adapter/ILogger.cs @@ -1,6 +1,4 @@ -using System; - -namespace SqlDatabase.Adapter; +namespace SqlDatabase.Adapter; public interface ILogger { diff --git a/Sources/SqlDatabase.Adapter/IScript.cs b/Sources/SqlDatabase.Adapter/IScript.cs index e842c882..aaadbef0 100644 --- a/Sources/SqlDatabase.Adapter/IScript.cs +++ b/Sources/SqlDatabase.Adapter/IScript.cs @@ -1,8 +1,4 @@ -using System.Collections.Generic; -using System.Data; -using System.IO; - -namespace SqlDatabase.Adapter; +namespace SqlDatabase.Adapter; public interface IScript { diff --git a/Sources/SqlDatabase.Adapter/ISqlTextReader.cs b/Sources/SqlDatabase.Adapter/ISqlTextReader.cs index a4e6aa77..18ef91f5 100644 --- a/Sources/SqlDatabase.Adapter/ISqlTextReader.cs +++ b/Sources/SqlDatabase.Adapter/ISqlTextReader.cs @@ -1,7 +1,4 @@ -using System.Collections.Generic; -using System.IO; - -namespace SqlDatabase.Adapter; +namespace SqlDatabase.Adapter; public interface ISqlTextReader { diff --git a/Sources/SqlDatabase.Adapter/LoggerExtensions.cs b/Sources/SqlDatabase.Adapter/LoggerExtensions.cs index a126501a..a0b6bbda 100644 --- a/Sources/SqlDatabase.Adapter/LoggerExtensions.cs +++ b/Sources/SqlDatabase.Adapter/LoggerExtensions.cs @@ -1,7 +1,4 @@ -using System; -using System.Text; - -namespace SqlDatabase.Adapter; +namespace SqlDatabase.Adapter; public static class LoggerExtensions { diff --git a/Sources/SqlDatabase.Adapter/SqlWriterBase.cs b/Sources/SqlDatabase.Adapter/SqlWriterBase.cs index f0f911e2..b04b4ac5 100644 --- a/Sources/SqlDatabase.Adapter/SqlWriterBase.cs +++ b/Sources/SqlDatabase.Adapter/SqlWriterBase.cs @@ -1,8 +1,4 @@ -using System; -using System.Data; -using System.IO; - -namespace SqlDatabase.Adapter; +namespace SqlDatabase.Adapter; public abstract class SqlWriterBase : IDisposable { diff --git a/Sources/SqlDatabase.Configuration.Test/ConfigurationManagerTest.cs b/Sources/SqlDatabase.Configuration.Test/ConfigurationManagerTest.cs index 7098185d..6c3698e1 100644 --- a/Sources/SqlDatabase.Configuration.Test/ConfigurationManagerTest.cs +++ b/Sources/SqlDatabase.Configuration.Test/ConfigurationManagerTest.cs @@ -1,5 +1,4 @@ -using System.IO; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.Configuration/AppConfiguration.cs b/Sources/SqlDatabase.Configuration/AppConfiguration.cs index 30a37c5f..124bdf7a 100644 --- a/Sources/SqlDatabase.Configuration/AppConfiguration.cs +++ b/Sources/SqlDatabase.Configuration/AppConfiguration.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; - -namespace SqlDatabase.Configuration; +namespace SqlDatabase.Configuration; public sealed class AppConfiguration { diff --git a/Sources/SqlDatabase.Configuration/ConfigurationErrorsException.cs b/Sources/SqlDatabase.Configuration/ConfigurationErrorsException.cs index bdc00ae7..f63813b0 100644 --- a/Sources/SqlDatabase.Configuration/ConfigurationErrorsException.cs +++ b/Sources/SqlDatabase.Configuration/ConfigurationErrorsException.cs @@ -1,6 +1,4 @@ -using System; - -namespace SqlDatabase.Configuration; +namespace SqlDatabase.Configuration; public sealed class ConfigurationErrorsException : ApplicationException { diff --git a/Sources/SqlDatabase.Configuration/ConfigurationManager.cs b/Sources/SqlDatabase.Configuration/ConfigurationManager.cs index f687c454..0fa79942 100644 --- a/Sources/SqlDatabase.Configuration/ConfigurationManager.cs +++ b/Sources/SqlDatabase.Configuration/ConfigurationManager.cs @@ -1,7 +1,4 @@ -using System; -using System.IO; -using System.Linq; -using SqlDatabase.FileSystem; +using SqlDatabase.FileSystem; namespace SqlDatabase.Configuration; diff --git a/Sources/SqlDatabase.Configuration/ConfigurationReader.cs b/Sources/SqlDatabase.Configuration/ConfigurationReader.cs index b728ee18..4350c76f 100644 --- a/Sources/SqlDatabase.Configuration/ConfigurationReader.cs +++ b/Sources/SqlDatabase.Configuration/ConfigurationReader.cs @@ -1,7 +1,4 @@ -using System.Collections.Generic; -using System.IO; -using System.Text; -using System.Xml; +using System.Xml; namespace SqlDatabase.Configuration; diff --git a/Sources/SqlDatabase.Configuration/DatabaseConfiguration.cs b/Sources/SqlDatabase.Configuration/DatabaseConfiguration.cs index 33891f8b..7982a46e 100644 --- a/Sources/SqlDatabase.Configuration/DatabaseConfiguration.cs +++ b/Sources/SqlDatabase.Configuration/DatabaseConfiguration.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; - -namespace SqlDatabase.Configuration; +namespace SqlDatabase.Configuration; public sealed class DatabaseConfiguration { diff --git a/Sources/SqlDatabase.FileSystem.Test/FileSystemFactoryTest.cs b/Sources/SqlDatabase.FileSystem.Test/FileSystemFactoryTest.cs index 869b9cd3..9fcd89f7 100644 --- a/Sources/SqlDatabase.FileSystem.Test/FileSystemFactoryTest.cs +++ b/Sources/SqlDatabase.FileSystem.Test/FileSystemFactoryTest.cs @@ -1,6 +1,4 @@ -using System.IO; -using System.Linq; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.FileSystem.Test/FileSystemFileTest.cs b/Sources/SqlDatabase.FileSystem.Test/FileSystemFileTest.cs index 2a53e63e..f1a3da88 100644 --- a/Sources/SqlDatabase.FileSystem.Test/FileSystemFileTest.cs +++ b/Sources/SqlDatabase.FileSystem.Test/FileSystemFileTest.cs @@ -1,5 +1,4 @@ -using System.IO; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.FileSystem.Test/FileSystemFolderTest.cs b/Sources/SqlDatabase.FileSystem.Test/FileSystemFolderTest.cs index 5331348f..e852f840 100644 --- a/Sources/SqlDatabase.FileSystem.Test/FileSystemFolderTest.cs +++ b/Sources/SqlDatabase.FileSystem.Test/FileSystemFolderTest.cs @@ -1,6 +1,4 @@ -using System.IO; -using System.Linq; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.FileSystem.Test/InLineScriptFileTest.cs b/Sources/SqlDatabase.FileSystem.Test/InLineScriptFileTest.cs index fe6133ba..c37f0245 100644 --- a/Sources/SqlDatabase.FileSystem.Test/InLineScriptFileTest.cs +++ b/Sources/SqlDatabase.FileSystem.Test/InLineScriptFileTest.cs @@ -1,5 +1,4 @@ -using System.IO; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; namespace SqlDatabase.FileSystem; diff --git a/Sources/SqlDatabase.FileSystem.Test/ZipFolderTest.cs b/Sources/SqlDatabase.FileSystem.Test/ZipFolderTest.cs index 8dcb2819..0ad0ddcb 100644 --- a/Sources/SqlDatabase.FileSystem.Test/ZipFolderTest.cs +++ b/Sources/SqlDatabase.FileSystem.Test/ZipFolderTest.cs @@ -1,6 +1,4 @@ -using System.IO; -using System.Linq; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.FileSystem/FileSystemFactory.cs b/Sources/SqlDatabase.FileSystem/FileSystemFactory.cs index 835dff00..e4e8939f 100644 --- a/Sources/SqlDatabase.FileSystem/FileSystemFactory.cs +++ b/Sources/SqlDatabase.FileSystem/FileSystemFactory.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; - -namespace SqlDatabase.FileSystem; +namespace SqlDatabase.FileSystem; public sealed class FileSystemFactory : IFileSystemFactory { diff --git a/Sources/SqlDatabase.FileSystem/FileSystemFile.cs b/Sources/SqlDatabase.FileSystem/FileSystemFile.cs index 1ab6b787..f1096e25 100644 --- a/Sources/SqlDatabase.FileSystem/FileSystemFile.cs +++ b/Sources/SqlDatabase.FileSystem/FileSystemFile.cs @@ -1,6 +1,4 @@ -using System.IO; - -namespace SqlDatabase.FileSystem; +namespace SqlDatabase.FileSystem; internal sealed class FileSystemFile : IFile { diff --git a/Sources/SqlDatabase.FileSystem/FileSystemFolder.cs b/Sources/SqlDatabase.FileSystem/FileSystemFolder.cs index da1877b2..7af50d3f 100644 --- a/Sources/SqlDatabase.FileSystem/FileSystemFolder.cs +++ b/Sources/SqlDatabase.FileSystem/FileSystemFolder.cs @@ -1,8 +1,4 @@ -using System.Collections.Generic; -using System.IO; -using System.Linq; - -namespace SqlDatabase.FileSystem; +namespace SqlDatabase.FileSystem; internal sealed class FileSystemFolder : IFolder { diff --git a/Sources/SqlDatabase.FileSystem/FileTools.cs b/Sources/SqlDatabase.FileSystem/FileTools.cs index 280a16b1..9229e09d 100644 --- a/Sources/SqlDatabase.FileSystem/FileTools.cs +++ b/Sources/SqlDatabase.FileSystem/FileTools.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.IO; - -namespace SqlDatabase.FileSystem; +namespace SqlDatabase.FileSystem; internal static class FileTools { diff --git a/Sources/SqlDatabase.FileSystem/IFile.cs b/Sources/SqlDatabase.FileSystem/IFile.cs index 1d095d54..302a4b33 100644 --- a/Sources/SqlDatabase.FileSystem/IFile.cs +++ b/Sources/SqlDatabase.FileSystem/IFile.cs @@ -1,6 +1,4 @@ -using System.IO; - -namespace SqlDatabase.FileSystem; +namespace SqlDatabase.FileSystem; public interface IFile : IFileSystemInfo { diff --git a/Sources/SqlDatabase.FileSystem/IFolder.cs b/Sources/SqlDatabase.FileSystem/IFolder.cs index 3122829c..a1cad054 100644 --- a/Sources/SqlDatabase.FileSystem/IFolder.cs +++ b/Sources/SqlDatabase.FileSystem/IFolder.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SqlDatabase.FileSystem; +namespace SqlDatabase.FileSystem; public interface IFolder : IFileSystemInfo { diff --git a/Sources/SqlDatabase.FileSystem/InLineScriptFile.cs b/Sources/SqlDatabase.FileSystem/InLineScriptFile.cs index 22007008..40a30885 100644 --- a/Sources/SqlDatabase.FileSystem/InLineScriptFile.cs +++ b/Sources/SqlDatabase.FileSystem/InLineScriptFile.cs @@ -1,7 +1,4 @@ -using System.IO; -using System.Text; - -namespace SqlDatabase.FileSystem; +namespace SqlDatabase.FileSystem; internal sealed class InLineScriptFile : IFile { diff --git a/Sources/SqlDatabase.FileSystem/ZipEntryFolder.cs b/Sources/SqlDatabase.FileSystem/ZipEntryFolder.cs index 2dbf2ce7..e1f62dfb 100644 --- a/Sources/SqlDatabase.FileSystem/ZipEntryFolder.cs +++ b/Sources/SqlDatabase.FileSystem/ZipEntryFolder.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; - -namespace SqlDatabase.FileSystem; +namespace SqlDatabase.FileSystem; [DebuggerDisplay("{Name}")] internal sealed class ZipEntryFolder : IFolder diff --git a/Sources/SqlDatabase.FileSystem/ZipFolder.cs b/Sources/SqlDatabase.FileSystem/ZipFolder.cs index e2844b1b..7b68eea0 100644 --- a/Sources/SqlDatabase.FileSystem/ZipFolder.cs +++ b/Sources/SqlDatabase.FileSystem/ZipFolder.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.IO.Compression; -using System.Linq; +using System.IO.Compression; namespace SqlDatabase.FileSystem; diff --git a/Sources/SqlDatabase.FileSystem/ZipFolderFile.EntryStream.cs b/Sources/SqlDatabase.FileSystem/ZipFolderFile.EntryStream.cs index b4853cc9..ac46e0a6 100644 --- a/Sources/SqlDatabase.FileSystem/ZipFolderFile.EntryStream.cs +++ b/Sources/SqlDatabase.FileSystem/ZipFolderFile.EntryStream.cs @@ -1,7 +1,4 @@ -using System; -using System.IO; - -namespace SqlDatabase.FileSystem; +namespace SqlDatabase.FileSystem; internal partial class ZipFolderFile { diff --git a/Sources/SqlDatabase.FileSystem/ZipFolderFile.cs b/Sources/SqlDatabase.FileSystem/ZipFolderFile.cs index 00088c2e..9cc1ad42 100644 --- a/Sources/SqlDatabase.FileSystem/ZipFolderFile.cs +++ b/Sources/SqlDatabase.FileSystem/ZipFolderFile.cs @@ -1,7 +1,4 @@ -using System.Diagnostics; -using System.IO; - -namespace SqlDatabase.FileSystem; +namespace SqlDatabase.FileSystem; [DebuggerDisplay(@"zip\{EntryName}")] internal sealed partial class ZipFolderFile : IFile diff --git a/Sources/SqlDatabase.PowerShell.Test/CreateCmdLetTest.cs b/Sources/SqlDatabase.PowerShell.Test/CreateCmdLetTest.cs index 55858e6a..5e1819dd 100644 --- a/Sources/SqlDatabase.PowerShell.Test/CreateCmdLetTest.cs +++ b/Sources/SqlDatabase.PowerShell.Test/CreateCmdLetTest.cs @@ -1,5 +1,4 @@ -using System.IO; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; using SqlDatabase.Configuration; using SqlDatabase.PowerShell.TestApi; diff --git a/Sources/SqlDatabase.PowerShell.Test/ExecuteCmdLetTest.cs b/Sources/SqlDatabase.PowerShell.Test/ExecuteCmdLetTest.cs index c0db652c..4333c7c1 100644 --- a/Sources/SqlDatabase.PowerShell.Test/ExecuteCmdLetTest.cs +++ b/Sources/SqlDatabase.PowerShell.Test/ExecuteCmdLetTest.cs @@ -1,5 +1,4 @@ -using System.IO; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; using SqlDatabase.Configuration; using SqlDatabase.PowerShell.TestApi; diff --git a/Sources/SqlDatabase.PowerShell.Test/ExportCmdLetTest.cs b/Sources/SqlDatabase.PowerShell.Test/ExportCmdLetTest.cs index 527194ca..ae845021 100644 --- a/Sources/SqlDatabase.PowerShell.Test/ExportCmdLetTest.cs +++ b/Sources/SqlDatabase.PowerShell.Test/ExportCmdLetTest.cs @@ -1,5 +1,4 @@ -using System.IO; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; using SqlDatabase.Configuration; using SqlDatabase.PowerShell.TestApi; diff --git a/Sources/SqlDatabase.PowerShell.Test/InfoCmdLetTest.cs b/Sources/SqlDatabase.PowerShell.Test/InfoCmdLetTest.cs index a1dac9d4..faca11d8 100644 --- a/Sources/SqlDatabase.PowerShell.Test/InfoCmdLetTest.cs +++ b/Sources/SqlDatabase.PowerShell.Test/InfoCmdLetTest.cs @@ -1,5 +1,4 @@ -using System; -using System.Runtime.InteropServices; +using System.Runtime.InteropServices; using NUnit.Framework; using Shouldly; using SqlDatabase.PowerShell.TestApi; diff --git a/Sources/SqlDatabase.PowerShell.Test/Internal/DependencyResolverFactoryTest.cs b/Sources/SqlDatabase.PowerShell.Test/Internal/DependencyResolverFactoryTest.cs index 6044cd5a..894df28e 100644 --- a/Sources/SqlDatabase.PowerShell.Test/Internal/DependencyResolverFactoryTest.cs +++ b/Sources/SqlDatabase.PowerShell.Test/Internal/DependencyResolverFactoryTest.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections; +using System.Collections; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.PowerShell.Test/TestApi/SqlDatabaseCmdLetTest.cs b/Sources/SqlDatabase.PowerShell.Test/TestApi/SqlDatabaseCmdLetTest.cs index a66d3177..e0c7356a 100644 --- a/Sources/SqlDatabase.PowerShell.Test/TestApi/SqlDatabaseCmdLetTest.cs +++ b/Sources/SqlDatabase.PowerShell.Test/TestApi/SqlDatabaseCmdLetTest.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; +using System.Collections.ObjectModel; using System.Management.Automation; using System.Management.Automation.Runspaces; using System.Reflection; diff --git a/Sources/SqlDatabase.PowerShell.Test/UpgradeCmdLetTest.cs b/Sources/SqlDatabase.PowerShell.Test/UpgradeCmdLetTest.cs index 9ca0e54e..9459c3bb 100644 --- a/Sources/SqlDatabase.PowerShell.Test/UpgradeCmdLetTest.cs +++ b/Sources/SqlDatabase.PowerShell.Test/UpgradeCmdLetTest.cs @@ -1,5 +1,4 @@ -using System.IO; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; using SqlDatabase.Configuration; using SqlDatabase.PowerShell.TestApi; diff --git a/Sources/SqlDatabase.PowerShell/InfoCmdLet.cs b/Sources/SqlDatabase.PowerShell/InfoCmdLet.cs index c6e0b05f..61a49678 100644 --- a/Sources/SqlDatabase.PowerShell/InfoCmdLet.cs +++ b/Sources/SqlDatabase.PowerShell/InfoCmdLet.cs @@ -1,5 +1,4 @@ -using System.IO; -using System.Management.Automation; +using System.Management.Automation; using System.Runtime.InteropServices; using SqlDatabase.Configuration; using SqlDatabase.PowerShell.Internal; diff --git a/Sources/SqlDatabase.PowerShell/Internal/AssemblyCache.cs b/Sources/SqlDatabase.PowerShell/Internal/AssemblyCache.cs index 5287de6d..da3b8bab 100644 --- a/Sources/SqlDatabase.PowerShell/Internal/AssemblyCache.cs +++ b/Sources/SqlDatabase.PowerShell/Internal/AssemblyCache.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Reflection; +using System.Reflection; namespace SqlDatabase.PowerShell.Internal; diff --git a/Sources/SqlDatabase.PowerShell/Internal/CmdLetLogger.cs b/Sources/SqlDatabase.PowerShell/Internal/CmdLetLogger.cs index 3977da0f..c9980719 100644 --- a/Sources/SqlDatabase.PowerShell/Internal/CmdLetLogger.cs +++ b/Sources/SqlDatabase.PowerShell/Internal/CmdLetLogger.cs @@ -1,5 +1,4 @@ -using System; -using System.Management.Automation; +using System.Management.Automation; using SqlDatabase.Log; namespace SqlDatabase.PowerShell.Internal; diff --git a/Sources/SqlDatabase.PowerShell/Internal/CmdletExtensions.cs b/Sources/SqlDatabase.PowerShell/Internal/CmdletExtensions.cs index 75019134..6eee7e78 100644 --- a/Sources/SqlDatabase.PowerShell/Internal/CmdletExtensions.cs +++ b/Sources/SqlDatabase.PowerShell/Internal/CmdletExtensions.cs @@ -1,5 +1,4 @@ -using System.IO; -using System.Management.Automation; +using System.Management.Automation; using SqlDatabase.Configuration; namespace SqlDatabase.PowerShell.Internal; diff --git a/Sources/SqlDatabase.PowerShell/Internal/DependencyResolverFactory.cs b/Sources/SqlDatabase.PowerShell/Internal/DependencyResolverFactory.cs index d5b95449..0779cb14 100644 --- a/Sources/SqlDatabase.PowerShell/Internal/DependencyResolverFactory.cs +++ b/Sources/SqlDatabase.PowerShell/Internal/DependencyResolverFactory.cs @@ -1,5 +1,4 @@ -using System; -using System.Management.Automation; +using System.Management.Automation; namespace SqlDatabase.PowerShell.Internal; diff --git a/Sources/SqlDatabase.PowerShell/Internal/IDependencyResolver.cs b/Sources/SqlDatabase.PowerShell/Internal/IDependencyResolver.cs index a84005ad..e7b9cd82 100644 --- a/Sources/SqlDatabase.PowerShell/Internal/IDependencyResolver.cs +++ b/Sources/SqlDatabase.PowerShell/Internal/IDependencyResolver.cs @@ -1,6 +1,4 @@ -using System; - -namespace SqlDatabase.PowerShell.Internal; +namespace SqlDatabase.PowerShell.Internal; internal interface IDependencyResolver : IDisposable { diff --git a/Sources/SqlDatabase.PowerShell/Internal/PSVersionTable.cs b/Sources/SqlDatabase.PowerShell/Internal/PSVersionTable.cs index 051dfd21..7f9be133 100644 --- a/Sources/SqlDatabase.PowerShell/Internal/PSVersionTable.cs +++ b/Sources/SqlDatabase.PowerShell/Internal/PSVersionTable.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections; +using System.Collections; namespace SqlDatabase.PowerShell.Internal; diff --git a/Sources/SqlDatabase.PowerShell/Internal/PowerShellCommandBase.cs b/Sources/SqlDatabase.PowerShell/Internal/PowerShellCommandBase.cs index 9bfb5f80..f8317c75 100644 --- a/Sources/SqlDatabase.PowerShell/Internal/PowerShellCommandBase.cs +++ b/Sources/SqlDatabase.PowerShell/Internal/PowerShellCommandBase.cs @@ -1,5 +1,4 @@ -using System.IO; -using System.Management.Automation; +using System.Management.Automation; using SqlDatabase.Configuration; namespace SqlDatabase.PowerShell.Internal; diff --git a/Sources/SqlDatabase.PowerShell/Internal/PowerShellCoreDependencyResolver.cs b/Sources/SqlDatabase.PowerShell/Internal/PowerShellCoreDependencyResolver.cs index 5a8bdd60..243545e6 100644 --- a/Sources/SqlDatabase.PowerShell/Internal/PowerShellCoreDependencyResolver.cs +++ b/Sources/SqlDatabase.PowerShell/Internal/PowerShellCoreDependencyResolver.cs @@ -1,5 +1,4 @@ -using System.IO; -using System.Management.Automation; +using System.Management.Automation; using System.Reflection; using System.Runtime.Loader; diff --git a/Sources/SqlDatabase.PowerShell/Internal/PowerShellDesktopDependencyResolver.cs b/Sources/SqlDatabase.PowerShell/Internal/PowerShellDesktopDependencyResolver.cs index 9e033675..7909698f 100644 --- a/Sources/SqlDatabase.PowerShell/Internal/PowerShellDesktopDependencyResolver.cs +++ b/Sources/SqlDatabase.PowerShell/Internal/PowerShellDesktopDependencyResolver.cs @@ -1,6 +1,4 @@ -using System; -using System.IO; -using System.Reflection; +using System.Reflection; namespace SqlDatabase.PowerShell.Internal; diff --git a/Sources/SqlDatabase.Sequence.Test/CreateScriptSequenceTest.cs b/Sources/SqlDatabase.Sequence.Test/CreateScriptSequenceTest.cs index e91eb6f3..757b4d38 100644 --- a/Sources/SqlDatabase.Sequence.Test/CreateScriptSequenceTest.cs +++ b/Sources/SqlDatabase.Sequence.Test/CreateScriptSequenceTest.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; -using System.Linq; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; using SqlDatabase.Adapter; diff --git a/Sources/SqlDatabase.Sequence.Test/DependencyParserTest.cs b/Sources/SqlDatabase.Sequence.Test/DependencyParserTest.cs index 6fa611ba..63198cc5 100644 --- a/Sources/SqlDatabase.Sequence.Test/DependencyParserTest.cs +++ b/Sources/SqlDatabase.Sequence.Test/DependencyParserTest.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.Sequence.Test/ModuleVersionResolverTest.cs b/Sources/SqlDatabase.Sequence.Test/ModuleVersionResolverTest.cs index 90ae5268..258ed244 100644 --- a/Sources/SqlDatabase.Sequence.Test/ModuleVersionResolverTest.cs +++ b/Sources/SqlDatabase.Sequence.Test/ModuleVersionResolverTest.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; using SqlDatabase.Adapter; diff --git a/Sources/SqlDatabase.Sequence.Test/UpgradeScriptCollectionTest.cs b/Sources/SqlDatabase.Sequence.Test/UpgradeScriptCollectionTest.cs index 031f5fcc..271410e5 100644 --- a/Sources/SqlDatabase.Sequence.Test/UpgradeScriptCollectionTest.cs +++ b/Sources/SqlDatabase.Sequence.Test/UpgradeScriptCollectionTest.cs @@ -1,5 +1,4 @@ -using System; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; namespace SqlDatabase.Sequence; diff --git a/Sources/SqlDatabase.Sequence.Test/UpgradeScriptSequenceTest.cs b/Sources/SqlDatabase.Sequence.Test/UpgradeScriptSequenceTest.cs index f88189d9..7ee9c977 100644 --- a/Sources/SqlDatabase.Sequence.Test/UpgradeScriptSequenceTest.cs +++ b/Sources/SqlDatabase.Sequence.Test/UpgradeScriptSequenceTest.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using Moq; +using Moq; using Newtonsoft.Json; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.Sequence/CreateScriptSequence.cs b/Sources/SqlDatabase.Sequence/CreateScriptSequence.cs index 826f0e89..8b583aa7 100644 --- a/Sources/SqlDatabase.Sequence/CreateScriptSequence.cs +++ b/Sources/SqlDatabase.Sequence/CreateScriptSequence.cs @@ -1,7 +1,4 @@ -using System.Collections.Generic; -using System.IO; -using System.Linq; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; using SqlDatabase.FileSystem; namespace SqlDatabase.Sequence; diff --git a/Sources/SqlDatabase.Sequence/DependencyParser.cs b/Sources/SqlDatabase.Sequence/DependencyParser.cs index e96db1e8..80fbf7b7 100644 --- a/Sources/SqlDatabase.Sequence/DependencyParser.cs +++ b/Sources/SqlDatabase.Sequence/DependencyParser.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; -using System.IO; -using System.Text.RegularExpressions; +using System.Text.RegularExpressions; namespace SqlDatabase.Sequence; diff --git a/Sources/SqlDatabase.Sequence/GetDatabaseCurrentVersion.cs b/Sources/SqlDatabase.Sequence/GetDatabaseCurrentVersion.cs index 6f5fb245..96d40582 100644 --- a/Sources/SqlDatabase.Sequence/GetDatabaseCurrentVersion.cs +++ b/Sources/SqlDatabase.Sequence/GetDatabaseCurrentVersion.cs @@ -1,5 +1,3 @@ -using System; - -namespace SqlDatabase.Sequence; +namespace SqlDatabase.Sequence; public delegate Version GetDatabaseCurrentVersion(string? moduleName); \ No newline at end of file diff --git a/Sources/SqlDatabase.Sequence/ICreateScriptSequence.cs b/Sources/SqlDatabase.Sequence/ICreateScriptSequence.cs index a2024e4f..54fdd952 100644 --- a/Sources/SqlDatabase.Sequence/ICreateScriptSequence.cs +++ b/Sources/SqlDatabase.Sequence/ICreateScriptSequence.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; namespace SqlDatabase.Sequence; diff --git a/Sources/SqlDatabase.Sequence/IModuleVersionResolver.cs b/Sources/SqlDatabase.Sequence/IModuleVersionResolver.cs index 6f863691..509f80c4 100644 --- a/Sources/SqlDatabase.Sequence/IModuleVersionResolver.cs +++ b/Sources/SqlDatabase.Sequence/IModuleVersionResolver.cs @@ -1,6 +1,4 @@ -using System; - -namespace SqlDatabase.Sequence; +namespace SqlDatabase.Sequence; internal interface IModuleVersionResolver { diff --git a/Sources/SqlDatabase.Sequence/IUpgradeScriptSequence.cs b/Sources/SqlDatabase.Sequence/IUpgradeScriptSequence.cs index 333d30ee..3f11cf69 100644 --- a/Sources/SqlDatabase.Sequence/IUpgradeScriptSequence.cs +++ b/Sources/SqlDatabase.Sequence/IUpgradeScriptSequence.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SqlDatabase.Sequence; +namespace SqlDatabase.Sequence; public interface IUpgradeScriptSequence { diff --git a/Sources/SqlDatabase.Sequence/ModuleVersionResolver.cs b/Sources/SqlDatabase.Sequence/ModuleVersionResolver.cs index 64bc845d..8a63b5cc 100644 --- a/Sources/SqlDatabase.Sequence/ModuleVersionResolver.cs +++ b/Sources/SqlDatabase.Sequence/ModuleVersionResolver.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; namespace SqlDatabase.Sequence; diff --git a/Sources/SqlDatabase.Sequence/ScriptDependency.cs b/Sources/SqlDatabase.Sequence/ScriptDependency.cs index 17704981..47ee1dc3 100644 --- a/Sources/SqlDatabase.Sequence/ScriptDependency.cs +++ b/Sources/SqlDatabase.Sequence/ScriptDependency.cs @@ -1,6 +1,4 @@ -using System; - -namespace SqlDatabase.Sequence; +namespace SqlDatabase.Sequence; internal readonly struct ScriptDependency : IEquatable { diff --git a/Sources/SqlDatabase.Sequence/ScriptStep.cs b/Sources/SqlDatabase.Sequence/ScriptStep.cs index b008b11d..7d21758a 100644 --- a/Sources/SqlDatabase.Sequence/ScriptStep.cs +++ b/Sources/SqlDatabase.Sequence/ScriptStep.cs @@ -1,6 +1,4 @@ -using System; -using System.Diagnostics; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; namespace SqlDatabase.Sequence; diff --git a/Sources/SqlDatabase.Sequence/UpgradeScriptCollection.cs b/Sources/SqlDatabase.Sequence/UpgradeScriptCollection.cs index 83cf967e..5e9eaac8 100644 --- a/Sources/SqlDatabase.Sequence/UpgradeScriptCollection.cs +++ b/Sources/SqlDatabase.Sequence/UpgradeScriptCollection.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; -using System.Globalization; -using System.Linq; +using System.Globalization; using SqlDatabase.Adapter; using SqlDatabase.FileSystem; diff --git a/Sources/SqlDatabase.Sequence/UpgradeScriptSequence.cs b/Sources/SqlDatabase.Sequence/UpgradeScriptSequence.cs index 3c838782..e6cc6c5b 100644 --- a/Sources/SqlDatabase.Sequence/UpgradeScriptSequence.cs +++ b/Sources/SqlDatabase.Sequence/UpgradeScriptSequence.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; using SqlDatabase.FileSystem; namespace SqlDatabase.Sequence; diff --git a/Sources/SqlDatabase.Test/Commands/DatabaseCreateCommandTest.cs b/Sources/SqlDatabase.Test/Commands/DatabaseCreateCommandTest.cs index 33bff8ac..d382ba7f 100644 --- a/Sources/SqlDatabase.Test/Commands/DatabaseCreateCommandTest.cs +++ b/Sources/SqlDatabase.Test/Commands/DatabaseCreateCommandTest.cs @@ -1,5 +1,4 @@ -using System; -using Moq; +using Moq; using NUnit.Framework; using SqlDatabase.Adapter; using SqlDatabase.Configuration; diff --git a/Sources/SqlDatabase.Test/Commands/DatabaseExecuteCommandTest.cs b/Sources/SqlDatabase.Test/Commands/DatabaseExecuteCommandTest.cs index f337b178..4fb5f50c 100644 --- a/Sources/SqlDatabase.Test/Commands/DatabaseExecuteCommandTest.cs +++ b/Sources/SqlDatabase.Test/Commands/DatabaseExecuteCommandTest.cs @@ -1,5 +1,4 @@ -using System; -using Moq; +using Moq; using NUnit.Framework; using SqlDatabase.Adapter; using SqlDatabase.Scripts; diff --git a/Sources/SqlDatabase.Test/Commands/DatabaseExportCommandTest.cs b/Sources/SqlDatabase.Test/Commands/DatabaseExportCommandTest.cs index d0885ccc..080dc8fa 100644 --- a/Sources/SqlDatabase.Test/Commands/DatabaseExportCommandTest.cs +++ b/Sources/SqlDatabase.Test/Commands/DatabaseExportCommandTest.cs @@ -1,7 +1,4 @@ -using System; -using System.Data; -using System.IO; -using Moq; +using Moq; using NUnit.Framework; using SqlDatabase.Adapter; using SqlDatabase.Adapter.Sql.Export; diff --git a/Sources/SqlDatabase.Test/Commands/DatabaseUpgradeCommandTest.cs b/Sources/SqlDatabase.Test/Commands/DatabaseUpgradeCommandTest.cs index c93c5380..bb8f760c 100644 --- a/Sources/SqlDatabase.Test/Commands/DatabaseUpgradeCommandTest.cs +++ b/Sources/SqlDatabase.Test/Commands/DatabaseUpgradeCommandTest.cs @@ -1,5 +1,4 @@ -using System; -using Moq; +using Moq; using NUnit.Framework; using SqlDatabase.Adapter; using SqlDatabase.Scripts; diff --git a/Sources/SqlDatabase.Test/Configuration/CommandLineFactoryTest.cs b/Sources/SqlDatabase.Test/Configuration/CommandLineFactoryTest.cs index 27b3e0f9..40094242 100644 --- a/Sources/SqlDatabase.Test/Configuration/CommandLineFactoryTest.cs +++ b/Sources/SqlDatabase.Test/Configuration/CommandLineFactoryTest.cs @@ -1,5 +1,4 @@ -using System; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; namespace SqlDatabase.Configuration; diff --git a/Sources/SqlDatabase.Test/Configuration/EnvironmentBuilderMock.cs b/Sources/SqlDatabase.Test/Configuration/EnvironmentBuilderMock.cs index 1d911f81..86267df6 100644 --- a/Sources/SqlDatabase.Test/Configuration/EnvironmentBuilderMock.cs +++ b/Sources/SqlDatabase.Test/Configuration/EnvironmentBuilderMock.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; -using System.Linq; -using Moq; +using Moq; using Shouldly; using SqlDatabase.Adapter; using SqlDatabase.FileSystem; diff --git a/Sources/SqlDatabase.Test/Configuration/EnvironmentBuilderTest.cs b/Sources/SqlDatabase.Test/Configuration/EnvironmentBuilderTest.cs index fc8e4477..5dcdb739 100644 --- a/Sources/SqlDatabase.Test/Configuration/EnvironmentBuilderTest.cs +++ b/Sources/SqlDatabase.Test/Configuration/EnvironmentBuilderTest.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; using SqlDatabase.Adapter; diff --git a/Sources/SqlDatabase.Test/Configuration/ExportCommandLineTest.cs b/Sources/SqlDatabase.Test/Configuration/ExportCommandLineTest.cs index 8db50281..dc65de2b 100644 --- a/Sources/SqlDatabase.Test/Configuration/ExportCommandLineTest.cs +++ b/Sources/SqlDatabase.Test/Configuration/ExportCommandLineTest.cs @@ -1,5 +1,4 @@ -using System.IO; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; using SqlDatabase.Adapter; diff --git a/Sources/SqlDatabase.Test/Log/CombinedLoggerTest.cs b/Sources/SqlDatabase.Test/Log/CombinedLoggerTest.cs index 5e887bb0..55acdd00 100644 --- a/Sources/SqlDatabase.Test/Log/CombinedLoggerTest.cs +++ b/Sources/SqlDatabase.Test/Log/CombinedLoggerTest.cs @@ -1,5 +1,4 @@ -using System; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; using SqlDatabase.Adapter; diff --git a/Sources/SqlDatabase.Test/Log/FileLoggerTest.cs b/Sources/SqlDatabase.Test/Log/FileLoggerTest.cs index 27b373cb..37420127 100644 --- a/Sources/SqlDatabase.Test/Log/FileLoggerTest.cs +++ b/Sources/SqlDatabase.Test/Log/FileLoggerTest.cs @@ -1,5 +1,4 @@ -using System.IO; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; using SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.Test/Log/LoggerBaseTest.cs b/Sources/SqlDatabase.Test/Log/LoggerBaseTest.cs index 436c2cc8..8105fce5 100644 --- a/Sources/SqlDatabase.Test/Log/LoggerBaseTest.cs +++ b/Sources/SqlDatabase.Test/Log/LoggerBaseTest.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; -using Moq; +using Moq; using Moq.Protected; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.Test/Scripts/DatabaseAdapterFactoryTest.cs b/Sources/SqlDatabase.Test/Scripts/DatabaseAdapterFactoryTest.cs index 5834b92c..27fc724f 100644 --- a/Sources/SqlDatabase.Test/Scripts/DatabaseAdapterFactoryTest.cs +++ b/Sources/SqlDatabase.Test/Scripts/DatabaseAdapterFactoryTest.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; using SqlDatabase.Adapter; diff --git a/Sources/SqlDatabase.Test/Scripts/DatabaseTest.cs b/Sources/SqlDatabase.Test/Scripts/DatabaseTest.cs index a0712b80..4a7ed1f0 100644 --- a/Sources/SqlDatabase.Test/Scripts/DatabaseTest.cs +++ b/Sources/SqlDatabase.Test/Scripts/DatabaseTest.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.Common; -using System.Linq; +using System.Data.Common; using Moq; using NUnit.Framework; using Shouldly; diff --git a/Sources/SqlDatabase.Test/Scripts/ScriptResolverTest.cs b/Sources/SqlDatabase.Test/Scripts/ScriptResolverTest.cs index b343c2e9..2d5f2639 100644 --- a/Sources/SqlDatabase.Test/Scripts/ScriptResolverTest.cs +++ b/Sources/SqlDatabase.Test/Scripts/ScriptResolverTest.cs @@ -1,5 +1,4 @@ -using System; -using Moq; +using Moq; using NUnit.Framework; using Shouldly; using SqlDatabase.Adapter; diff --git a/Sources/SqlDatabase.Test/Scripts/VariablesTest.cs b/Sources/SqlDatabase.Test/Scripts/VariablesTest.cs index 11223f36..33f096e1 100644 --- a/Sources/SqlDatabase.Test/Scripts/VariablesTest.cs +++ b/Sources/SqlDatabase.Test/Scripts/VariablesTest.cs @@ -1,5 +1,4 @@ -using System; -using NUnit.Framework; +using NUnit.Framework; using Shouldly; namespace SqlDatabase.Scripts; diff --git a/Sources/SqlDatabase.TestApi/ConfigurationExtensions.cs b/Sources/SqlDatabase.TestApi/ConfigurationExtensions.cs index 5a8843f9..9f9c8bf2 100644 --- a/Sources/SqlDatabase.TestApi/ConfigurationExtensions.cs +++ b/Sources/SqlDatabase.TestApi/ConfigurationExtensions.cs @@ -1,6 +1,4 @@ -using System; -using System.Diagnostics; -using System.IO; +using System.Diagnostics; using System.Xml; using Shouldly; diff --git a/Sources/SqlDatabase.TestApi/FileFactory.cs b/Sources/SqlDatabase.TestApi/FileFactory.cs index 69b58c61..0d4d8310 100644 --- a/Sources/SqlDatabase.TestApi/FileFactory.cs +++ b/Sources/SqlDatabase.TestApi/FileFactory.cs @@ -1,7 +1,4 @@ -using System; -using System.IO; -using System.Linq; -using System.Text; +using System.Text; using Moq; using Shouldly; using SqlDatabase.FileSystem; diff --git a/Sources/SqlDatabase.TestApi/ResourceReader.cs b/Sources/SqlDatabase.TestApi/ResourceReader.cs index 5e751431..ce666dfe 100644 --- a/Sources/SqlDatabase.TestApi/ResourceReader.cs +++ b/Sources/SqlDatabase.TestApi/ResourceReader.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Linq; +using System.Diagnostics; using System.Reflection; using System.Text; using Shouldly; diff --git a/Sources/SqlDatabase.TestApi/TempConsoleOut.cs b/Sources/SqlDatabase.TestApi/TempConsoleOut.cs index 942c8cb7..32d50635 100644 --- a/Sources/SqlDatabase.TestApi/TempConsoleOut.cs +++ b/Sources/SqlDatabase.TestApi/TempConsoleOut.cs @@ -1,7 +1,4 @@ -using System; -using System.IO; - -namespace SqlDatabase.TestApi; +namespace SqlDatabase.TestApi; public sealed class TempConsoleOut : IDisposable { diff --git a/Sources/SqlDatabase.TestApi/TempDirectory.cs b/Sources/SqlDatabase.TestApi/TempDirectory.cs index 9f646124..0f359f03 100644 --- a/Sources/SqlDatabase.TestApi/TempDirectory.cs +++ b/Sources/SqlDatabase.TestApi/TempDirectory.cs @@ -1,6 +1,4 @@ -using System; -using System.Diagnostics; -using System.IO; +using System.Diagnostics; using Shouldly; namespace SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.TestApi/TempFile.cs b/Sources/SqlDatabase.TestApi/TempFile.cs index d327c9bf..5524ca44 100644 --- a/Sources/SqlDatabase.TestApi/TempFile.cs +++ b/Sources/SqlDatabase.TestApi/TempFile.cs @@ -1,7 +1,4 @@ -using System; -using System.IO; - -namespace SqlDatabase.TestApi; +namespace SqlDatabase.TestApi; public sealed class TempFile : IDisposable { diff --git a/Sources/SqlDatabase.TestApi/TestOutput.cs b/Sources/SqlDatabase.TestApi/TestOutput.cs index 21d173a8..19404056 100644 --- a/Sources/SqlDatabase.TestApi/TestOutput.cs +++ b/Sources/SqlDatabase.TestApi/TestOutput.cs @@ -1,5 +1,4 @@ -using System; -using System.Diagnostics; +using System.Diagnostics; namespace SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase.TestApi/TextExtensions.cs b/Sources/SqlDatabase.TestApi/TextExtensions.cs index a70c8949..0fc15321 100644 --- a/Sources/SqlDatabase.TestApi/TextExtensions.cs +++ b/Sources/SqlDatabase.TestApi/TextExtensions.cs @@ -1,6 +1,4 @@ -using System; -using System.IO; -using System.Text; +using System.Text; namespace SqlDatabase.TestApi; diff --git a/Sources/SqlDatabase/Commands/DatabaseExportCommand.cs b/Sources/SqlDatabase/Commands/DatabaseExportCommand.cs index 82769fc0..95f5f013 100644 --- a/Sources/SqlDatabase/Commands/DatabaseExportCommand.cs +++ b/Sources/SqlDatabase/Commands/DatabaseExportCommand.cs @@ -1,6 +1,4 @@ -using System; -using System.Diagnostics; -using System.IO; +using System.Diagnostics; using System.Text; using SqlDatabase.Adapter; using SqlDatabase.Adapter.Sql.Export; diff --git a/Sources/SqlDatabase/Commands/DatabaseUpgradeCommand.cs b/Sources/SqlDatabase/Commands/DatabaseUpgradeCommand.cs index fa0d8d6f..e407f871 100644 --- a/Sources/SqlDatabase/Commands/DatabaseUpgradeCommand.cs +++ b/Sources/SqlDatabase/Commands/DatabaseUpgradeCommand.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; +using System.Diagnostics; using System.Text; using SqlDatabase.Adapter; using SqlDatabase.Scripts; diff --git a/Sources/SqlDatabase/Configuration/CommandLine.cs b/Sources/SqlDatabase/Configuration/CommandLine.cs index 77e1a669..64f31618 100644 --- a/Sources/SqlDatabase/Configuration/CommandLine.cs +++ b/Sources/SqlDatabase/Configuration/CommandLine.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SqlDatabase.Configuration; +namespace SqlDatabase.Configuration; internal readonly struct CommandLine { diff --git a/Sources/SqlDatabase/Configuration/CommandLineBase.cs b/Sources/SqlDatabase/Configuration/CommandLineBase.cs index ad5d9ff2..3207c370 100644 --- a/Sources/SqlDatabase/Configuration/CommandLineBase.cs +++ b/Sources/SqlDatabase/Configuration/CommandLineBase.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; using SqlDatabase.Commands; using SqlDatabase.FileSystem; diff --git a/Sources/SqlDatabase/Configuration/CommandLineFactory.cs b/Sources/SqlDatabase/Configuration/CommandLineFactory.cs index 1aa4aa41..1fd3c85e 100644 --- a/Sources/SqlDatabase/Configuration/CommandLineFactory.cs +++ b/Sources/SqlDatabase/Configuration/CommandLineFactory.cs @@ -1,7 +1,4 @@ -using System; -using System.Linq; - -namespace SqlDatabase.Configuration; +namespace SqlDatabase.Configuration; internal sealed class CommandLineFactory { diff --git a/Sources/SqlDatabase/Configuration/CommandLineParser.cs b/Sources/SqlDatabase/Configuration/CommandLineParser.cs index aec19af6..a495a627 100644 --- a/Sources/SqlDatabase/Configuration/CommandLineParser.cs +++ b/Sources/SqlDatabase/Configuration/CommandLineParser.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; - -namespace SqlDatabase.Configuration; +namespace SqlDatabase.Configuration; internal sealed class CommandLineParser { diff --git a/Sources/SqlDatabase/Configuration/EnvironmentBuilder.cs b/Sources/SqlDatabase/Configuration/EnvironmentBuilder.cs index 8061a7d3..e0e885c3 100644 --- a/Sources/SqlDatabase/Configuration/EnvironmentBuilder.cs +++ b/Sources/SqlDatabase/Configuration/EnvironmentBuilder.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; using SqlDatabase.Adapter.AssemblyScripts; using SqlDatabase.Adapter.PowerShellScripts; using SqlDatabase.Adapter.Sql; diff --git a/Sources/SqlDatabase/Configuration/ExecuteCommandLine.cs b/Sources/SqlDatabase/Configuration/ExecuteCommandLine.cs index b8158def..9d7d4b76 100644 --- a/Sources/SqlDatabase/Configuration/ExecuteCommandLine.cs +++ b/Sources/SqlDatabase/Configuration/ExecuteCommandLine.cs @@ -1,5 +1,4 @@ -using System; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; using SqlDatabase.Commands; namespace SqlDatabase.Configuration; diff --git a/Sources/SqlDatabase/Configuration/ExportCommandLine.cs b/Sources/SqlDatabase/Configuration/ExportCommandLine.cs index e968de25..1309e563 100644 --- a/Sources/SqlDatabase/Configuration/ExportCommandLine.cs +++ b/Sources/SqlDatabase/Configuration/ExportCommandLine.cs @@ -1,6 +1,4 @@ -using System; -using System.IO; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; using SqlDatabase.Adapter.Sql.Export; using SqlDatabase.Commands; diff --git a/Sources/SqlDatabase/Configuration/GenericCommandLine.cs b/Sources/SqlDatabase/Configuration/GenericCommandLine.cs index a6214ceb..84944ed4 100644 --- a/Sources/SqlDatabase/Configuration/GenericCommandLine.cs +++ b/Sources/SqlDatabase/Configuration/GenericCommandLine.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; - -namespace SqlDatabase.Configuration; +namespace SqlDatabase.Configuration; public sealed class GenericCommandLine { diff --git a/Sources/SqlDatabase/Configuration/GenericCommandLineBuilder.cs b/Sources/SqlDatabase/Configuration/GenericCommandLineBuilder.cs index c49d3814..8d665fdc 100644 --- a/Sources/SqlDatabase/Configuration/GenericCommandLineBuilder.cs +++ b/Sources/SqlDatabase/Configuration/GenericCommandLineBuilder.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; -using System.Text; +using System.Text; namespace SqlDatabase.Configuration; diff --git a/Sources/SqlDatabase/Configuration/IEnvironmentBuilder.cs b/Sources/SqlDatabase/Configuration/IEnvironmentBuilder.cs index 47d7e0b9..9059ae92 100644 --- a/Sources/SqlDatabase/Configuration/IEnvironmentBuilder.cs +++ b/Sources/SqlDatabase/Configuration/IEnvironmentBuilder.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; using SqlDatabase.FileSystem; using SqlDatabase.Scripts; using SqlDatabase.Sequence; diff --git a/Sources/SqlDatabase/Configuration/InvalidCommandLineException.cs b/Sources/SqlDatabase/Configuration/InvalidCommandLineException.cs index 253ff89a..8cc7f5a2 100644 --- a/Sources/SqlDatabase/Configuration/InvalidCommandLineException.cs +++ b/Sources/SqlDatabase/Configuration/InvalidCommandLineException.cs @@ -1,7 +1,4 @@ -using System; -using System.Runtime.Serialization; - -namespace SqlDatabase.Configuration; +namespace SqlDatabase.Configuration; public sealed class InvalidCommandLineException : SystemException { diff --git a/Sources/SqlDatabase/Configuration/UpgradeCommandLine.cs b/Sources/SqlDatabase/Configuration/UpgradeCommandLine.cs index 3d33bff7..161a3702 100644 --- a/Sources/SqlDatabase/Configuration/UpgradeCommandLine.cs +++ b/Sources/SqlDatabase/Configuration/UpgradeCommandLine.cs @@ -1,5 +1,4 @@ -using System; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; using SqlDatabase.Commands; namespace SqlDatabase.Configuration; diff --git a/Sources/SqlDatabase/Log/CombinedLogger.cs b/Sources/SqlDatabase/Log/CombinedLogger.cs index 12bea88d..febaf939 100644 --- a/Sources/SqlDatabase/Log/CombinedLogger.cs +++ b/Sources/SqlDatabase/Log/CombinedLogger.cs @@ -1,5 +1,4 @@ -using System; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; namespace SqlDatabase.Log; diff --git a/Sources/SqlDatabase/Log/ConsoleLogger.cs b/Sources/SqlDatabase/Log/ConsoleLogger.cs index eb5d386f..daf72bca 100644 --- a/Sources/SqlDatabase/Log/ConsoleLogger.cs +++ b/Sources/SqlDatabase/Log/ConsoleLogger.cs @@ -1,6 +1,4 @@ -using System; - -namespace SqlDatabase.Log; +namespace SqlDatabase.Log; internal sealed class ConsoleLogger : LoggerBase { diff --git a/Sources/SqlDatabase/Log/DisposableAction.cs b/Sources/SqlDatabase/Log/DisposableAction.cs index a9d6947e..e661522b 100644 --- a/Sources/SqlDatabase/Log/DisposableAction.cs +++ b/Sources/SqlDatabase/Log/DisposableAction.cs @@ -1,6 +1,4 @@ -using System; - -namespace SqlDatabase.Log; +namespace SqlDatabase.Log; internal sealed class DisposableAction : IDisposable { diff --git a/Sources/SqlDatabase/Log/FileLogger.cs b/Sources/SqlDatabase/Log/FileLogger.cs index d3b68e45..8b389475 100644 --- a/Sources/SqlDatabase/Log/FileLogger.cs +++ b/Sources/SqlDatabase/Log/FileLogger.cs @@ -1,6 +1,4 @@ -using System; -using System.Globalization; -using System.IO; +using System.Globalization; namespace SqlDatabase.Log; diff --git a/Sources/SqlDatabase/Log/LoggerBase.cs b/Sources/SqlDatabase/Log/LoggerBase.cs index 9cbad70c..4bac8fb3 100644 --- a/Sources/SqlDatabase/Log/LoggerBase.cs +++ b/Sources/SqlDatabase/Log/LoggerBase.cs @@ -1,5 +1,4 @@ -using System; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; namespace SqlDatabase.Log; diff --git a/Sources/SqlDatabase/Program.cs b/Sources/SqlDatabase/Program.cs index 5d4d4539..9b17da6a 100644 --- a/Sources/SqlDatabase/Program.cs +++ b/Sources/SqlDatabase/Program.cs @@ -1,7 +1,4 @@ -using System; -using System.IO; -using System.Linq; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; using SqlDatabase.Configuration; using SqlDatabase.Log; diff --git a/Sources/SqlDatabase/Scripts/Database.cs b/Sources/SqlDatabase/Scripts/Database.cs index ceadcbac..9130b94e 100644 --- a/Sources/SqlDatabase/Scripts/Database.cs +++ b/Sources/SqlDatabase/Scripts/Database.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; +using System.Data; using System.Data.Common; using SqlDatabase.Adapter; using SqlDatabase.Adapter.Sql; diff --git a/Sources/SqlDatabase/Scripts/DatabaseAdapterFactory.cs b/Sources/SqlDatabase/Scripts/DatabaseAdapterFactory.cs index 9eaf2874..7841af20 100644 --- a/Sources/SqlDatabase/Scripts/DatabaseAdapterFactory.cs +++ b/Sources/SqlDatabase/Scripts/DatabaseAdapterFactory.cs @@ -1,5 +1,4 @@ -using System; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; using SqlDatabase.Adapter.MsSql; using SqlDatabase.Adapter.MySql; using SqlDatabase.Adapter.PgSql; diff --git a/Sources/SqlDatabase/Scripts/IDatabase.cs b/Sources/SqlDatabase/Scripts/IDatabase.cs index 6f9807fb..1e97178f 100644 --- a/Sources/SqlDatabase/Scripts/IDatabase.cs +++ b/Sources/SqlDatabase/Scripts/IDatabase.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; +using System.Data; using SqlDatabase.Adapter; namespace SqlDatabase.Scripts; diff --git a/Sources/SqlDatabase/Scripts/IScriptResolver.cs b/Sources/SqlDatabase/Scripts/IScriptResolver.cs index 65915cc9..93e977f1 100644 --- a/Sources/SqlDatabase/Scripts/IScriptResolver.cs +++ b/Sources/SqlDatabase/Scripts/IScriptResolver.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; namespace SqlDatabase.Scripts; diff --git a/Sources/SqlDatabase/Scripts/ScriptResolver.cs b/Sources/SqlDatabase/Scripts/ScriptResolver.cs index eb690796..1239dd4f 100644 --- a/Sources/SqlDatabase/Scripts/ScriptResolver.cs +++ b/Sources/SqlDatabase/Scripts/ScriptResolver.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; using SqlDatabase.FileSystem; namespace SqlDatabase.Scripts; diff --git a/Sources/SqlDatabase/Scripts/Variables.cs b/Sources/SqlDatabase/Scripts/Variables.cs index a9826ff7..f4347549 100644 --- a/Sources/SqlDatabase/Scripts/Variables.cs +++ b/Sources/SqlDatabase/Scripts/Variables.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using SqlDatabase.Adapter; +using SqlDatabase.Adapter; namespace SqlDatabase.Scripts;