Skip to content

Commit

Permalink
Removed redundant namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Akamitori authored and zorbathut committed Nov 4, 2024
1 parent d144971 commit 4c990ca
Show file tree
Hide file tree
Showing 88 changed files with 64 additions and 158 deletions.
2 changes: 0 additions & 2 deletions example/loaf/Bootstrap.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.IO;

namespace Loaf
{
public static class Bootstrap
Expand Down
1 change: 0 additions & 1 deletion example/loaf/Cns.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
Expand Down
2 changes: 0 additions & 2 deletions example/loaf/Dice.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;

namespace Loaf
Expand Down
1 change: 0 additions & 1 deletion example/loaf/Locations.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;

Expand Down
1 change: 0 additions & 1 deletion extra/recorder_enumerator/src/Delegate.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.IO;
using System.Linq;
using System.Reflection;

Expand Down
1 change: 0 additions & 1 deletion extra/recorder_enumerator/src/MethodInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.IO;
using System.Linq;
using System.Reflection;

Expand Down
1 change: 0 additions & 1 deletion extra/recorder_enumerator/src/SystemLinq.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.IO;
using System.Linq;
using System.Reflection;

Expand Down
2 changes: 0 additions & 2 deletions extra/recorder_enumerator/src/SystemLinqEnumerable.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.IO;
using System.Linq;
using System.Reflection;

namespace Dec.RecorderEnumerator
Expand Down
3 changes: 0 additions & 3 deletions extra/recorder_enumerator/src/SystemLinqEnumerable_Select.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;

namespace Dec.RecorderEnumerator
Expand Down
2 changes: 0 additions & 2 deletions extra/recorder_enumerator/src/SystemLinqEnumerable_Where.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.IO;
using System.Linq;
using System.Reflection;

namespace Dec.RecorderEnumerator
Expand Down
2 changes: 0 additions & 2 deletions extra/recorder_enumerator/src/Util.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;

namespace Dec.RecorderEnumerator
Expand Down
5 changes: 0 additions & 5 deletions extra/recorder_enumerator/test/Base.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
5 changes: 1 addition & 4 deletions extra/recorder_enumerator/test/Enumer.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
6 changes: 2 additions & 4 deletions extra/recorder_enumerator/test/Function.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
4 changes: 2 additions & 2 deletions extra/recorder_enumerator/test/Linq.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
1 change: 0 additions & 1 deletion extra/recorder_enumerator/test/Util.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using DecTest.AssertWrapper;

namespace RecorderEnumeratorTest
{
Expand Down
2 changes: 0 additions & 2 deletions src/Composer.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Xml.Linq;

namespace Dec
{
/// <summary>
Expand Down
1 change: 0 additions & 1 deletion src/Dec.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;

namespace Dec
{
Expand Down
1 change: 0 additions & 1 deletion src/Index.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;

namespace Dec
Expand Down
6 changes: 0 additions & 6 deletions src/Parser.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
1 change: 0 additions & 1 deletion src/ParserModular.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Xml.Linq;

namespace Dec
{
Expand Down
1 change: 0 additions & 1 deletion src/Reader.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Xml.Linq;

namespace Dec
{
Expand Down
1 change: 0 additions & 1 deletion src/ReaderXmlDec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using System.Xml.Linq;

namespace Dec
Expand Down
4 changes: 0 additions & 4 deletions src/ReaderXmlRecorder.cs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 0 additions & 6 deletions src/ReaderXmlSimple.cs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion src/Serialization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Xml.Schema;

namespace Dec
{
Expand Down
1 change: 0 additions & 1 deletion src/Util.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Text.RegularExpressions;

namespace Dec
{
Expand Down
2 changes: 1 addition & 1 deletion src/UtilType.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Collections.Concurrent;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
Expand Down
3 changes: 0 additions & 3 deletions src/UtilXml.cs
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 0 additions & 2 deletions src/Writer.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Xml.Linq;

namespace Dec
{
Expand Down
4 changes: 1 addition & 3 deletions src/WriterClone.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
1 change: 0 additions & 1 deletion src/WriterValidation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Xml.Linq;

namespace Dec
{
Expand Down
3 changes: 2 additions & 1 deletion src/WriterXmlCompose.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@


using System;
using System.Collections;
using System.Xml.Linq;

namespace Dec
Expand Down
1 change: 0 additions & 1 deletion src/WriterXmlSimple.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;

namespace Dec
Expand Down
4 changes: 1 addition & 3 deletions test/integration/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using NUnit.Framework;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using NUnit.Framework;

namespace DecTestIntegration
{
Expand Down
4 changes: 1 addition & 3 deletions test/integration_unified/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using NUnit.Framework;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using NUnit.Framework;

namespace DecTestIntegrationUnified
{
Expand Down
2 changes: 1 addition & 1 deletion test/unit/Abstract.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using NUnit.Framework;
using System;
using NUnit.Framework;

namespace DecTest
{
Expand Down
4 changes: 1 addition & 3 deletions test/unit/AsThis.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;

namespace DecTest
{
Expand Down
4 changes: 1 addition & 3 deletions test/unit/Attributes.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;

namespace DecTest
{
Expand Down
2 changes: 1 addition & 1 deletion test/unit/Base.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using NUnit.Framework;
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using NUnit.Framework;

namespace DecTest
{
Expand Down
2 changes: 1 addition & 1 deletion test/unit/Bespoke.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using NUnit.Framework;
using System;
using NUnit.Framework;

namespace DecTest
{
Expand Down
2 changes: 1 addition & 1 deletion test/unit/Children.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using NUnit.Framework;
using System;
using NUnit.Framework;

namespace DecTest
{
Expand Down
3 changes: 1 addition & 2 deletions test/unit/Clone.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
using System.Collections.Generic;
using System.Linq;
using Dec;
using NUnit.Framework;
using System;
using System.Collections.Generic;

namespace DecTest
{
Expand Down
3 changes: 1 addition & 2 deletions test/unit/Collection.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using NUnit.Framework;
using System;
using System.Collections.Generic;
using NUnit.Framework;

namespace DecTest
{
Expand Down
3 changes: 1 addition & 2 deletions test/unit/CollectionArray.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using NUnit.Framework;
using System;
using System.Collections.Generic;
using NUnit.Framework;


namespace DecTest
Expand Down
2 changes: 1 addition & 1 deletion test/unit/CollectionDictionary.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using NUnit.Framework;
using System;
using System.Collections.Generic;
using NUnit.Framework;

namespace DecTest
{
Expand Down
2 changes: 1 addition & 1 deletion test/unit/CollectionHashSet.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using NUnit.Framework;
using System;
using System.Collections.Generic;
using NUnit.Framework;

namespace DecTest
{
Expand Down
2 changes: 1 addition & 1 deletion test/unit/CollectionList.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using NUnit.Framework;
using System;
using System.Collections.Generic;
using NUnit.Framework;

namespace DecTest
{
Expand Down
Loading

0 comments on commit 4c990ca

Please sign in to comment.