From 4c990caa836bd9f90ac730462f1cc8be8d4040c1 Mon Sep 17 00:00:00 2001 From: Akamitori Date: Mon, 4 Nov 2024 18:00:34 +0200 Subject: [PATCH] Removed redundant namespaces --- example/loaf/Bootstrap.cs | 2 -- example/loaf/Cns.cs | 1 - example/loaf/Dice.cs | 2 -- example/loaf/Locations.cs | 1 - extra/recorder_enumerator/src/Delegate.cs | 1 - extra/recorder_enumerator/src/MethodInfo.cs | 1 - extra/recorder_enumerator/src/SystemLinq.cs | 1 - extra/recorder_enumerator/src/SystemLinqEnumerable.cs | 2 -- .../recorder_enumerator/src/SystemLinqEnumerable_Select.cs | 3 --- extra/recorder_enumerator/src/SystemLinqEnumerable_Where.cs | 2 -- extra/recorder_enumerator/src/Util.cs | 2 -- extra/recorder_enumerator/test/Base.cs | 5 ----- extra/recorder_enumerator/test/Enumer.cs | 5 +---- extra/recorder_enumerator/test/Function.cs | 6 ++---- extra/recorder_enumerator/test/Linq.cs | 4 ++-- extra/recorder_enumerator/test/Util.cs | 1 - src/Composer.cs | 2 -- src/Dec.cs | 1 - src/Index.cs | 1 - src/Parser.cs | 6 ------ src/ParserModular.cs | 1 - src/Reader.cs | 1 - src/ReaderXmlDec.cs | 1 - src/ReaderXmlRecorder.cs | 4 ---- src/ReaderXmlSimple.cs | 6 ------ src/Serialization.cs | 1 - src/Util.cs | 1 - src/UtilType.cs | 2 +- src/UtilXml.cs | 3 --- src/Writer.cs | 2 -- src/WriterClone.cs | 4 +--- src/WriterValidation.cs | 1 - src/WriterXmlCompose.cs | 3 ++- src/WriterXmlSimple.cs | 1 - test/integration/Program.cs | 4 +--- test/integration_unified/Program.cs | 4 +--- test/unit/Abstract.cs | 2 +- test/unit/AsThis.cs | 4 +--- test/unit/Attributes.cs | 4 +--- test/unit/Base.cs | 2 +- test/unit/Bespoke.cs | 2 +- test/unit/Children.cs | 2 +- test/unit/Clone.cs | 3 +-- test/unit/Collection.cs | 3 +-- test/unit/CollectionArray.cs | 3 +-- test/unit/CollectionDictionary.cs | 2 +- test/unit/CollectionHashSet.cs | 2 +- test/unit/CollectionList.cs | 2 +- test/unit/CollectionQueue.cs | 2 +- test/unit/CollectionStack.cs | 2 +- test/unit/CollectionTuple.cs | 2 +- test/unit/Compat.cs | 5 +---- test/unit/Composer.cs | 2 +- test/unit/Converter.cs | 5 +---- test/unit/ConverterRead.cs | 2 +- test/unit/ConverterWrite.cs | 3 +-- test/unit/Culture.cs | 5 +---- test/unit/Database.cs | 2 +- test/unit/DecInheritance.cs | 2 +- test/unit/Decs.cs | 2 +- test/unit/Error.cs | 2 +- test/unit/Golden.cs | 2 +- test/unit/Index.cs | 3 +-- test/unit/Meta.cs | 2 +- test/unit/ModeBehaviors.cs | 2 +- test/unit/Module.cs | 2 +- test/unit/ModuleModes.cs | 2 +- test/unit/Parser.cs | 2 +- test/unit/ParserDependency.cs | 3 +-- test/unit/Permissions.cs | 3 +-- test/unit/Primitives.cs | 2 +- test/unit/Recorder.cs | 2 +- test/unit/RecorderFactory.cs | 2 +- test/unit/RecorderRef.cs | 3 +-- test/unit/RecorderShared.cs | 2 +- test/unit/RecorderV1.cs | 3 --- test/unit/References.cs | 2 +- test/unit/Reflection.cs | 2 +- test/unit/StaticReferences.cs | 2 +- test/unit/TypeSerialization.cs | 3 +-- test/unit/UserSettings.cs | 2 +- test/unit/Validation.cs | 3 +-- test/unit/ValuesExcept.cs | 4 ++-- test/unit/Xml.cs | 2 +- util/decutillib/Compilation.cs | 6 +++--- util/decutillib/Compress.cs | 2 +- util/fuzzgen/Program.cs | 2 -- util/fuzzgen/Rand.cs | 2 +- 88 files changed, 64 insertions(+), 158 deletions(-) diff --git a/example/loaf/Bootstrap.cs b/example/loaf/Bootstrap.cs index 42177ce7..859081b1 100644 --- a/example/loaf/Bootstrap.cs +++ b/example/loaf/Bootstrap.cs @@ -1,5 +1,3 @@ -using System.IO; - namespace Loaf { public static class Bootstrap diff --git a/example/loaf/Cns.cs b/example/loaf/Cns.cs index 36ca5409..a90d265c 100644 --- a/example/loaf/Cns.cs +++ b/example/loaf/Cns.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; diff --git a/example/loaf/Dice.cs b/example/loaf/Dice.cs index fb408b08..a41e592f 100644 --- a/example/loaf/Dice.cs +++ b/example/loaf/Dice.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using System.Text.RegularExpressions; namespace Loaf diff --git a/example/loaf/Locations.cs b/example/loaf/Locations.cs index f9174cf6..50e50911 100644 --- a/example/loaf/Locations.cs +++ b/example/loaf/Locations.cs @@ -1,4 +1,3 @@ -using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/extra/recorder_enumerator/src/Delegate.cs b/extra/recorder_enumerator/src/Delegate.cs index b09d96f7..aaed5f08 100644 --- a/extra/recorder_enumerator/src/Delegate.cs +++ b/extra/recorder_enumerator/src/Delegate.cs @@ -1,5 +1,4 @@ using System; -using System.IO; using System.Linq; using System.Reflection; diff --git a/extra/recorder_enumerator/src/MethodInfo.cs b/extra/recorder_enumerator/src/MethodInfo.cs index a9b70fbd..53d32dde 100644 --- a/extra/recorder_enumerator/src/MethodInfo.cs +++ b/extra/recorder_enumerator/src/MethodInfo.cs @@ -1,5 +1,4 @@ using System; -using System.IO; using System.Linq; using System.Reflection; diff --git a/extra/recorder_enumerator/src/SystemLinq.cs b/extra/recorder_enumerator/src/SystemLinq.cs index d5f7f8e9..ad59c84b 100644 --- a/extra/recorder_enumerator/src/SystemLinq.cs +++ b/extra/recorder_enumerator/src/SystemLinq.cs @@ -1,5 +1,4 @@ using System; -using System.IO; using System.Linq; using System.Reflection; diff --git a/extra/recorder_enumerator/src/SystemLinqEnumerable.cs b/extra/recorder_enumerator/src/SystemLinqEnumerable.cs index 362d1d20..97599336 100644 --- a/extra/recorder_enumerator/src/SystemLinqEnumerable.cs +++ b/extra/recorder_enumerator/src/SystemLinqEnumerable.cs @@ -1,6 +1,4 @@ using System; -using System.IO; -using System.Linq; using System.Reflection; namespace Dec.RecorderEnumerator diff --git a/extra/recorder_enumerator/src/SystemLinqEnumerable_Select.cs b/extra/recorder_enumerator/src/SystemLinqEnumerable_Select.cs index 66b63acc..dfd2d674 100644 --- a/extra/recorder_enumerator/src/SystemLinqEnumerable_Select.cs +++ b/extra/recorder_enumerator/src/SystemLinqEnumerable_Select.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using System.Reflection; namespace Dec.RecorderEnumerator diff --git a/extra/recorder_enumerator/src/SystemLinqEnumerable_Where.cs b/extra/recorder_enumerator/src/SystemLinqEnumerable_Where.cs index a732825c..c07581ae 100644 --- a/extra/recorder_enumerator/src/SystemLinqEnumerable_Where.cs +++ b/extra/recorder_enumerator/src/SystemLinqEnumerable_Where.cs @@ -1,6 +1,4 @@ using System; -using System.IO; -using System.Linq; using System.Reflection; namespace Dec.RecorderEnumerator diff --git a/extra/recorder_enumerator/src/Util.cs b/extra/recorder_enumerator/src/Util.cs index fd4a433e..2606e781 100644 --- a/extra/recorder_enumerator/src/Util.cs +++ b/extra/recorder_enumerator/src/Util.cs @@ -1,6 +1,4 @@ using System; -using System.Collections; -using System.Collections.Generic; using System.Reflection; namespace Dec.RecorderEnumerator diff --git a/extra/recorder_enumerator/test/Base.cs b/extra/recorder_enumerator/test/Base.cs index 5bd60cac..c1317ca8 100644 --- a/extra/recorder_enumerator/test/Base.cs +++ b/extra/recorder_enumerator/test/Base.cs @@ -1,10 +1,5 @@ using Dec; using NUnit.Framework; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.InteropServices; -using System.Security.Cryptography.X509Certificates; namespace RecorderEnumeratorTest { diff --git a/extra/recorder_enumerator/test/Enumer.cs b/extra/recorder_enumerator/test/Enumer.cs index 97bd41d0..188d69c0 100644 --- a/extra/recorder_enumerator/test/Enumer.cs +++ b/extra/recorder_enumerator/test/Enumer.cs @@ -1,9 +1,6 @@ +using System.Collections.Generic; using DecTest; using NUnit.Framework; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; namespace RecorderEnumeratorTest { diff --git a/extra/recorder_enumerator/test/Function.cs b/extra/recorder_enumerator/test/Function.cs index f6cc2127..022c7fe8 100644 --- a/extra/recorder_enumerator/test/Function.cs +++ b/extra/recorder_enumerator/test/Function.cs @@ -1,9 +1,7 @@ -using DecTest; -using NUnit.Framework; using System; using System.Collections.Generic; -using System.Linq; -using System.Reflection; +using DecTest; +using NUnit.Framework; namespace RecorderEnumeratorTest { diff --git a/extra/recorder_enumerator/test/Linq.cs b/extra/recorder_enumerator/test/Linq.cs index 010ed796..d0cd4074 100644 --- a/extra/recorder_enumerator/test/Linq.cs +++ b/extra/recorder_enumerator/test/Linq.cs @@ -1,10 +1,10 @@ #if NET6_0_OR_GREATER -using DecTest; -using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; +using DecTest; +using NUnit.Framework; namespace RecorderEnumeratorTest { diff --git a/extra/recorder_enumerator/test/Util.cs b/extra/recorder_enumerator/test/Util.cs index de5dcbc0..bef212d4 100644 --- a/extra/recorder_enumerator/test/Util.cs +++ b/extra/recorder_enumerator/test/Util.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using DecTest.AssertWrapper; namespace RecorderEnumeratorTest { diff --git a/src/Composer.cs b/src/Composer.cs index 4575cab3..df8c0fd9 100644 --- a/src/Composer.cs +++ b/src/Composer.cs @@ -1,5 +1,3 @@ -using System.Xml.Linq; - namespace Dec { /// diff --git a/src/Dec.cs b/src/Dec.cs index 3f0c8661..84453e00 100644 --- a/src/Dec.cs +++ b/src/Dec.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; namespace Dec { diff --git a/src/Index.cs b/src/Index.cs index 2cefb649..8aec3517 100644 --- a/src/Index.cs +++ b/src/Index.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Reflection; namespace Dec diff --git a/src/Parser.cs b/src/Parser.cs index 6c8a5175..2d79172c 100644 --- a/src/Parser.cs +++ b/src/Parser.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; using System.IO; -using System.Linq; -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Xml.Linq; namespace Dec { diff --git a/src/ParserModular.cs b/src/ParserModular.cs index 631c284a..0da59334 100644 --- a/src/ParserModular.cs +++ b/src/ParserModular.cs @@ -4,7 +4,6 @@ using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; -using System.Xml.Linq; namespace Dec { diff --git a/src/Reader.cs b/src/Reader.cs index 6779bcf9..c26c0d73 100644 --- a/src/Reader.cs +++ b/src/Reader.cs @@ -1,7 +1,6 @@ using System; using System.Collections; using System.Collections.Generic; -using System.Xml.Linq; namespace Dec { diff --git a/src/ReaderXmlDec.cs b/src/ReaderXmlDec.cs index 2a29237d..d1e88d03 100644 --- a/src/ReaderXmlDec.cs +++ b/src/ReaderXmlDec.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.IO; using System.Linq; -using System.Xml; using System.Xml.Linq; namespace Dec diff --git a/src/ReaderXmlRecorder.cs b/src/ReaderXmlRecorder.cs index 1f6f74ab..31a7781b 100644 --- a/src/ReaderXmlRecorder.cs +++ b/src/ReaderXmlRecorder.cs @@ -1,10 +1,6 @@ using System; -using System.Collections; using System.Collections.Generic; -using System.IO; using System.Linq; -using System.Reflection; -using System.Xml; using System.Xml.Linq; namespace Dec diff --git a/src/ReaderXmlSimple.cs b/src/ReaderXmlSimple.cs index 917bfa9a..2a0826e0 100644 --- a/src/ReaderXmlSimple.cs +++ b/src/ReaderXmlSimple.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.IO; using System.Linq; -using System.Reflection; -using System.Xml; using System.Xml.Linq; namespace Dec diff --git a/src/Serialization.cs b/src/Serialization.cs index 7f1ba015..156e86c7 100644 --- a/src/Serialization.cs +++ b/src/Serialization.cs @@ -4,7 +4,6 @@ using System.ComponentModel; using System.Linq; using System.Reflection; -using System.Xml.Schema; namespace Dec { diff --git a/src/Util.cs b/src/Util.cs index c520daa8..6b246887 100644 --- a/src/Util.cs +++ b/src/Util.cs @@ -1,5 +1,4 @@ using System; -using System.Text.RegularExpressions; namespace Dec { diff --git a/src/UtilType.cs b/src/UtilType.cs index 1814046b..7577a286 100644 --- a/src/UtilType.cs +++ b/src/UtilType.cs @@ -1,5 +1,5 @@ -using System.Collections.Concurrent; using System; +using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Reflection; diff --git a/src/UtilXml.cs b/src/UtilXml.cs index 00d89823..84781020 100644 --- a/src/UtilXml.cs +++ b/src/UtilXml.cs @@ -1,12 +1,9 @@ -using System; -using System.Collections.Generic; using System.Linq; using System.Xml; using System.Xml.Linq; namespace Dec { - internal static class UtilXml { internal static int LineNumber(this XElement element) diff --git a/src/Writer.cs b/src/Writer.cs index ec56ac94..bd213967 100644 --- a/src/Writer.cs +++ b/src/Writer.cs @@ -1,7 +1,5 @@ using System; using System.Collections; -using System.Collections.Generic; -using System.Xml.Linq; namespace Dec { diff --git a/src/WriterClone.cs b/src/WriterClone.cs index b7e4d002..8164cc5c 100644 --- a/src/WriterClone.cs +++ b/src/WriterClone.cs @@ -1,10 +1,8 @@ -using System.Reflection; -using System.Runtime.CompilerServices; using System; using System.Collections; using System.Collections.Generic; using System.Linq; - +using System.Runtime.CompilerServices; namespace Dec { diff --git a/src/WriterValidation.cs b/src/WriterValidation.cs index c08d954a..b61ad570 100644 --- a/src/WriterValidation.cs +++ b/src/WriterValidation.cs @@ -2,7 +2,6 @@ using System.Collections; using System.Collections.Generic; using System.Text; -using System.Xml.Linq; namespace Dec { diff --git a/src/WriterXmlCompose.cs b/src/WriterXmlCompose.cs index 959713ce..943ebd37 100644 --- a/src/WriterXmlCompose.cs +++ b/src/WriterXmlCompose.cs @@ -1,5 +1,6 @@ + + using System; -using System.Collections; using System.Xml.Linq; namespace Dec diff --git a/src/WriterXmlSimple.cs b/src/WriterXmlSimple.cs index 7a5afdc3..4fc3e576 100644 --- a/src/WriterXmlSimple.cs +++ b/src/WriterXmlSimple.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Xml.Linq; namespace Dec diff --git a/test/integration/Program.cs b/test/integration/Program.cs index 1291c61e..ff4cc41b 100644 --- a/test/integration/Program.cs +++ b/test/integration/Program.cs @@ -1,7 +1,5 @@ -using NUnit.Framework; -using System.Collections.Generic; using System.IO; -using System.Reflection; +using NUnit.Framework; namespace DecTestIntegration { diff --git a/test/integration_unified/Program.cs b/test/integration_unified/Program.cs index bbeb6035..129dc37d 100644 --- a/test/integration_unified/Program.cs +++ b/test/integration_unified/Program.cs @@ -1,7 +1,5 @@ -using NUnit.Framework; -using System.Collections.Generic; using System.IO; -using System.Reflection; +using NUnit.Framework; namespace DecTestIntegrationUnified { diff --git a/test/unit/Abstract.cs b/test/unit/Abstract.cs index ef1fe530..4e93b41f 100644 --- a/test/unit/Abstract.cs +++ b/test/unit/Abstract.cs @@ -1,5 +1,5 @@ -using NUnit.Framework; using System; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/AsThis.cs b/test/unit/AsThis.cs index b929383c..92fe9893 100644 --- a/test/unit/AsThis.cs +++ b/test/unit/AsThis.cs @@ -1,7 +1,5 @@ -using NUnit.Framework; -using System; using System.Collections.Generic; -using System.Linq; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Attributes.cs b/test/unit/Attributes.cs index d122ab06..31bc19d5 100644 --- a/test/unit/Attributes.cs +++ b/test/unit/Attributes.cs @@ -1,7 +1,5 @@ -using NUnit.Framework; using System; -using System.Collections.Generic; -using System.Linq; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Base.cs b/test/unit/Base.cs index 60569d29..e90bba72 100644 --- a/test/unit/Base.cs +++ b/test/unit/Base.cs @@ -1,8 +1,8 @@ -using NUnit.Framework; using System; using System.IO; using System.Linq; using System.Reflection; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Bespoke.cs b/test/unit/Bespoke.cs index bb22126c..69e27824 100644 --- a/test/unit/Bespoke.cs +++ b/test/unit/Bespoke.cs @@ -1,5 +1,5 @@ -using NUnit.Framework; using System; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Children.cs b/test/unit/Children.cs index badf33b2..c9f2007b 100644 --- a/test/unit/Children.cs +++ b/test/unit/Children.cs @@ -1,5 +1,5 @@ -using NUnit.Framework; using System; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Clone.cs b/test/unit/Clone.cs index 3a30e413..e2f185d7 100644 --- a/test/unit/Clone.cs +++ b/test/unit/Clone.cs @@ -1,8 +1,7 @@ +using System.Collections.Generic; using System.Linq; using Dec; using NUnit.Framework; -using System; -using System.Collections.Generic; namespace DecTest { diff --git a/test/unit/Collection.cs b/test/unit/Collection.cs index e7ffe420..a6da311b 100644 --- a/test/unit/Collection.cs +++ b/test/unit/Collection.cs @@ -1,6 +1,5 @@ -using NUnit.Framework; using System; -using System.Collections.Generic; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/CollectionArray.cs b/test/unit/CollectionArray.cs index 42e0f1e5..9c38c826 100644 --- a/test/unit/CollectionArray.cs +++ b/test/unit/CollectionArray.cs @@ -1,6 +1,5 @@ -using NUnit.Framework; using System; -using System.Collections.Generic; +using NUnit.Framework; namespace DecTest diff --git a/test/unit/CollectionDictionary.cs b/test/unit/CollectionDictionary.cs index 4ac20863..61f7ce1c 100644 --- a/test/unit/CollectionDictionary.cs +++ b/test/unit/CollectionDictionary.cs @@ -1,6 +1,6 @@ -using NUnit.Framework; using System; using System.Collections.Generic; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/CollectionHashSet.cs b/test/unit/CollectionHashSet.cs index 77b56627..ce068b14 100644 --- a/test/unit/CollectionHashSet.cs +++ b/test/unit/CollectionHashSet.cs @@ -1,6 +1,6 @@ -using NUnit.Framework; using System; using System.Collections.Generic; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/CollectionList.cs b/test/unit/CollectionList.cs index 4f78654d..927548d7 100644 --- a/test/unit/CollectionList.cs +++ b/test/unit/CollectionList.cs @@ -1,6 +1,6 @@ -using NUnit.Framework; using System; using System.Collections.Generic; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/CollectionQueue.cs b/test/unit/CollectionQueue.cs index be2b1c51..52f43a5b 100644 --- a/test/unit/CollectionQueue.cs +++ b/test/unit/CollectionQueue.cs @@ -1,6 +1,6 @@ -using NUnit.Framework; using System; using System.Collections.Generic; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/CollectionStack.cs b/test/unit/CollectionStack.cs index d9e3c366..f0e749bc 100644 --- a/test/unit/CollectionStack.cs +++ b/test/unit/CollectionStack.cs @@ -1,6 +1,6 @@ -using NUnit.Framework; using System; using System.Collections.Generic; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/CollectionTuple.cs b/test/unit/CollectionTuple.cs index 1c29ccea..323f9afa 100644 --- a/test/unit/CollectionTuple.cs +++ b/test/unit/CollectionTuple.cs @@ -1,6 +1,6 @@ -using NUnit.Framework; using System; using System.Collections.Generic; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Compat.cs b/test/unit/Compat.cs index 5ac8cf35..82e949de 100644 --- a/test/unit/Compat.cs +++ b/test/unit/Compat.cs @@ -1,8 +1,5 @@ -using NUnit.Framework; -using NUnit.Framework.Internal; -using System; -using System.Collections.Generic; using System.Linq; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Composer.cs b/test/unit/Composer.cs index d44a1f71..4d3bd7f9 100644 --- a/test/unit/Composer.cs +++ b/test/unit/Composer.cs @@ -1,5 +1,5 @@ -using NUnit.Framework; using System; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Converter.cs b/test/unit/Converter.cs index b50979ef..ed319d63 100644 --- a/test/unit/Converter.cs +++ b/test/unit/Converter.cs @@ -1,8 +1,5 @@ -using NUnit.Framework; using System; -using System.Collections.Generic; -using System.Linq; -using System.Xml.Linq; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/ConverterRead.cs b/test/unit/ConverterRead.cs index c4f1570d..880690f7 100644 --- a/test/unit/ConverterRead.cs +++ b/test/unit/ConverterRead.cs @@ -1,7 +1,7 @@ -using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/ConverterWrite.cs b/test/unit/ConverterWrite.cs index 86130f9f..a8b43a4b 100644 --- a/test/unit/ConverterWrite.cs +++ b/test/unit/ConverterWrite.cs @@ -1,7 +1,6 @@ -using NUnit.Framework; using System; -using System.Collections.Generic; using System.Text.RegularExpressions; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Culture.cs b/test/unit/Culture.cs index edbaab3c..04560da0 100644 --- a/test/unit/Culture.cs +++ b/test/unit/Culture.cs @@ -1,8 +1,5 @@ -using NUnit.Framework; using System; -using System.Collections.Generic; -using System.Linq; -using System.Xml.Linq; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Database.cs b/test/unit/Database.cs index 2ead6dbd..6b377cfd 100644 --- a/test/unit/Database.cs +++ b/test/unit/Database.cs @@ -1,7 +1,7 @@ -using NUnit.Framework; using System; using System.Linq; using System.Reflection; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/DecInheritance.cs b/test/unit/DecInheritance.cs index 3b118064..40b4c7eb 100644 --- a/test/unit/DecInheritance.cs +++ b/test/unit/DecInheritance.cs @@ -1,6 +1,6 @@ -using NUnit.Framework; using System; using System.Collections.Generic; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Decs.cs b/test/unit/Decs.cs index 531e6fc3..ebf4d609 100644 --- a/test/unit/Decs.cs +++ b/test/unit/Decs.cs @@ -1,7 +1,7 @@ -using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Error.cs b/test/unit/Error.cs index 4858ae87..c017962d 100644 --- a/test/unit/Error.cs +++ b/test/unit/Error.cs @@ -1,5 +1,5 @@ -using NUnit.Framework; using System; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Golden.cs b/test/unit/Golden.cs index c95bff48..d655feac 100644 --- a/test/unit/Golden.cs +++ b/test/unit/Golden.cs @@ -1,7 +1,7 @@ -using NUnit.Framework; using System.Collections.Generic; using System.IO; using System.Reflection; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Index.cs b/test/unit/Index.cs index 525e287d..d99b0d8b 100644 --- a/test/unit/Index.cs +++ b/test/unit/Index.cs @@ -1,7 +1,6 @@ -using NUnit.Framework; using System; using System.Collections.Generic; -using System.Linq; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Meta.cs b/test/unit/Meta.cs index d69093cc..87400571 100644 --- a/test/unit/Meta.cs +++ b/test/unit/Meta.cs @@ -1,7 +1,7 @@ -using NUnit.Framework; using System; using System.Collections.Generic; using System.Reflection; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/ModeBehaviors.cs b/test/unit/ModeBehaviors.cs index fc4adeba..99a3df96 100644 --- a/test/unit/ModeBehaviors.cs +++ b/test/unit/ModeBehaviors.cs @@ -1,6 +1,6 @@ -using NUnit.Framework; using System; using System.Collections.Generic; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Module.cs b/test/unit/Module.cs index ee03498a..421f9885 100644 --- a/test/unit/Module.cs +++ b/test/unit/Module.cs @@ -1,5 +1,5 @@ -using NUnit.Framework; using System; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/ModuleModes.cs b/test/unit/ModuleModes.cs index 5e3358d6..17dce5be 100644 --- a/test/unit/ModuleModes.cs +++ b/test/unit/ModuleModes.cs @@ -1,5 +1,5 @@ -using NUnit.Framework; using System; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Parser.cs b/test/unit/Parser.cs index 6366a7c8..4dc928a6 100644 --- a/test/unit/Parser.cs +++ b/test/unit/Parser.cs @@ -1,5 +1,5 @@ -using NUnit.Framework; using System; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/ParserDependency.cs b/test/unit/ParserDependency.cs index b9fa2824..c79c6c43 100644 --- a/test/unit/ParserDependency.cs +++ b/test/unit/ParserDependency.cs @@ -1,7 +1,6 @@ -using NUnit.Framework; using System; using System.Collections.Generic; -using System.Linq; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Permissions.cs b/test/unit/Permissions.cs index 3506ed70..77924ba6 100644 --- a/test/unit/Permissions.cs +++ b/test/unit/Permissions.cs @@ -1,6 +1,5 @@ -using NUnit.Framework; using System; -using System.Collections.Generic; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Primitives.cs b/test/unit/Primitives.cs index cfaef4c6..fcac2186 100644 --- a/test/unit/Primitives.cs +++ b/test/unit/Primitives.cs @@ -1,6 +1,6 @@ -using NUnit.Framework; using System; using System.Collections.Generic; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Recorder.cs b/test/unit/Recorder.cs index 471d7b34..2d8b2d10 100644 --- a/test/unit/Recorder.cs +++ b/test/unit/Recorder.cs @@ -1,6 +1,6 @@ -using NUnit.Framework; using System; using System.Collections.Generic; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/RecorderFactory.cs b/test/unit/RecorderFactory.cs index d2e28603..4dc901ac 100644 --- a/test/unit/RecorderFactory.cs +++ b/test/unit/RecorderFactory.cs @@ -1,6 +1,6 @@ -using NUnit.Framework; using System; using System.Collections.Generic; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/RecorderRef.cs b/test/unit/RecorderRef.cs index 7488184e..884b4cf5 100644 --- a/test/unit/RecorderRef.cs +++ b/test/unit/RecorderRef.cs @@ -1,7 +1,6 @@ -using NUnit.Framework; using System; using System.Collections.Generic; -using System.Linq; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/RecorderShared.cs b/test/unit/RecorderShared.cs index 93176e8c..1e3856bd 100644 --- a/test/unit/RecorderShared.cs +++ b/test/unit/RecorderShared.cs @@ -1,6 +1,6 @@ -using NUnit.Framework; using System; using System.Collections.Generic; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/RecorderV1.cs b/test/unit/RecorderV1.cs index 40f843af..7033a7fd 100644 --- a/test/unit/RecorderV1.cs +++ b/test/unit/RecorderV1.cs @@ -1,7 +1,4 @@ using NUnit.Framework; -using System; -using System.Collections.Generic; -using System.Text.RegularExpressions; namespace DecTest { diff --git a/test/unit/References.cs b/test/unit/References.cs index 65e69afb..090ea1c2 100644 --- a/test/unit/References.cs +++ b/test/unit/References.cs @@ -1,5 +1,5 @@ -using NUnit.Framework; using System; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Reflection.cs b/test/unit/Reflection.cs index 1e6c8d9d..d52a7e7f 100644 --- a/test/unit/Reflection.cs +++ b/test/unit/Reflection.cs @@ -1,7 +1,7 @@ -using NUnit.Framework; using System; using System.Collections.Generic; using System.Reflection; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/StaticReferences.cs b/test/unit/StaticReferences.cs index 0d0dedca..e60e7a40 100644 --- a/test/unit/StaticReferences.cs +++ b/test/unit/StaticReferences.cs @@ -1,5 +1,5 @@ -using NUnit.Framework; using System; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/TypeSerialization.cs b/test/unit/TypeSerialization.cs index e66acf4d..f3f69b51 100644 --- a/test/unit/TypeSerialization.cs +++ b/test/unit/TypeSerialization.cs @@ -1,9 +1,8 @@ -using NUnit.Framework; using System; using System.Collections.Generic; -using System.Linq; using System.Reflection; using System.Xml.Linq; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/UserSettings.cs b/test/unit/UserSettings.cs index 1dfc8f85..fcb87364 100644 --- a/test/unit/UserSettings.cs +++ b/test/unit/UserSettings.cs @@ -1,5 +1,5 @@ -using NUnit.Framework; using System; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/Validation.cs b/test/unit/Validation.cs index 5974fdf5..847214f9 100644 --- a/test/unit/Validation.cs +++ b/test/unit/Validation.cs @@ -1,8 +1,7 @@ -using NUnit.Framework; using System; using System.Collections.Generic; -using System.IO; using System.Reflection; +using NUnit.Framework; namespace DecTest { diff --git a/test/unit/ValuesExcept.cs b/test/unit/ValuesExcept.cs index 0906510c..4ffbdf2a 100644 --- a/test/unit/ValuesExcept.cs +++ b/test/unit/ValuesExcept.cs @@ -1,8 +1,8 @@ -using NUnit.Framework; -using NUnit.Framework.Interfaces; using System; using System.Collections; using System.Collections.Generic; +using NUnit.Framework; +using NUnit.Framework.Interfaces; namespace DecTest { diff --git a/test/unit/Xml.cs b/test/unit/Xml.cs index 7c1db4e9..59305ed8 100644 --- a/test/unit/Xml.cs +++ b/test/unit/Xml.cs @@ -1,5 +1,5 @@ -using NUnit.Framework; using System; +using NUnit.Framework; namespace DecTest { diff --git a/util/decutillib/Compilation.cs b/util/decutillib/Compilation.cs index 583c54df..c3e3270a 100644 --- a/util/decutillib/Compilation.cs +++ b/util/decutillib/Compilation.cs @@ -1,11 +1,11 @@ -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp; -using NUnit.Framework; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Loader; +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp; +using NUnit.Framework; namespace DecUtilLib { diff --git a/util/decutillib/Compress.cs b/util/decutillib/Compress.cs index cde52c2b..664e3d66 100644 --- a/util/decutillib/Compress.cs +++ b/util/decutillib/Compress.cs @@ -1,6 +1,6 @@ -using System.IO; using System.Diagnostics; +using System.IO; using System.Runtime.InteropServices; namespace DecUtilLib diff --git a/util/fuzzgen/Program.cs b/util/fuzzgen/Program.cs index babf50aa..41109cb2 100644 --- a/util/fuzzgen/Program.cs +++ b/util/fuzzgen/Program.cs @@ -1,5 +1,3 @@ - -using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; diff --git a/util/fuzzgen/Rand.cs b/util/fuzzgen/Rand.cs index 1aaa3db7..d8c02889 100644 --- a/util/fuzzgen/Rand.cs +++ b/util/fuzzgen/Rand.cs @@ -1,7 +1,7 @@ using System; -using System.Linq; using System.IO; +using System.Linq; namespace Fuzzgen {