Skip to content

Commit

Permalink
Remove unused 'using' blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
nblumhardt committed Jul 5, 2021
1 parent f6a7a2a commit 04554e7
Show file tree
Hide file tree
Showing 17 changed files with 8 additions and 48 deletions.
3 changes: 0 additions & 3 deletions samples/LinqyCalculator/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sprache;

namespace LinqyCalculator
Expand Down
1 change: 0 additions & 1 deletion samples/XmlExample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Text;
using Sprache;
using System.IO;
using System.Xml;

namespace XmlExample
{
Expand Down
7 changes: 1 addition & 6 deletions src/Sprache/CommentParser.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sprache
namespace Sprache
{
/// <summary>
/// Constructs customizable comment parsers.
Expand Down
7 changes: 1 addition & 6 deletions src/Sprache/IComment.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sprache
namespace Sprache
{
/// <summary>
/// Represents a customizable comment parser.
Expand Down
2 changes: 0 additions & 2 deletions src/Sprache/IInput.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sprache
{
Expand Down
3 changes: 1 addition & 2 deletions src/Sprache/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("Sprache.Tests")]
4 changes: 1 addition & 3 deletions src/Sprache/StringExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Collections.Generic;

namespace Sprache
{
Expand Down
4 changes: 1 addition & 3 deletions test/Sprache.Tests/AssertInput.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sprache.Tests
{
static class AssertInput
Expand Down
1 change: 0 additions & 1 deletion test/Sprache.Tests/AssertParser.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Sprache;
using Xunit;

namespace Sprache.Tests
Expand Down
1 change: 0 additions & 1 deletion test/Sprache.Tests/DecimalTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Globalization;
using System.Threading;
using Xunit;

namespace Sprache.Tests
Expand Down
3 changes: 0 additions & 3 deletions test/Sprache.Tests/InputTests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;

namespace Sprache.Tests
Expand Down
1 change: 0 additions & 1 deletion test/Sprache.Tests/OptionTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using Sprache;
using Xunit;

namespace Sprache.Tests
Expand Down
3 changes: 1 addition & 2 deletions test/Sprache.Tests/ParseTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using Xunit;

Expand Down
7 changes: 1 addition & 6 deletions test/Sprache.Tests/PosAwareStr.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sprache.Tests
namespace Sprache.Tests
{
class PosAwareStr : IPositionAware<PosAwareStr>
{
Expand Down
5 changes: 1 addition & 4 deletions test/Sprache.Tests/ResultTests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using Xunit;

namespace Sprache.Tests
Expand Down
1 change: 0 additions & 1 deletion test/Sprache.Tests/Scenarios/AmqpErrorTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// ReSharper disable InconsistentNaming

using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
Expand Down
3 changes: 0 additions & 3 deletions test/Sprache.Tests/Scenarios/StarDateTest.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using Xunit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sprache.Tests.Scenarios
{
Expand Down

0 comments on commit 04554e7

Please sign in to comment.