Skip to content

Commit ea4714b

Browse files
gsscodermoh-hassan
authored andcommitted
Using statements cleanup
1 parent a261a0d commit ea4714b

30 files changed

+49
-115
lines changed

tests/CommandLine.Tests/Fakes/Hidden_Option.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
6-
7-
namespace CommandLine.Tests.Fakes
1+
namespace CommandLine.Tests.Fakes
82
{
93
public class Hidden_Option
104
{

tests/CommandLine.Tests/Fakes/Options_HelpText_Ordering.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information.
22

3-
using System.Collections.Generic;
4-
using System.Runtime.CompilerServices;
5-
63
namespace CommandLine.Tests.Fakes
74
{
85

tests/CommandLine.Tests/Fakes/Options_With_Sequence_Having_Both_Min_And_Max_Equal.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information.
22

3-
using System;
43
using System.Collections.Generic;
5-
using System.Linq;
6-
using System.Text;
74

85
namespace CommandLine.Tests.Fakes
96
{

tests/CommandLine.Tests/Fakes/ResourceFakes.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
6-
7-
namespace CommandLine.Tests.Fakes
1+
namespace CommandLine.Tests.Fakes
82
{
93
public static class StaticResource
104
{

tests/CommandLine.Tests/Unit/BaseAttributeTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Linq;
32
using Xunit;
43

54
namespace CommandLine.Tests.Unit

tests/CommandLine.Tests/Unit/Core/InstanceBuilderTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
using System.Collections.Generic;
1414
using System.Globalization;
1515
using System.Linq;
16-
1716
using Xunit;
18-
using System.Reflection;
1917

2018
namespace CommandLine.Tests.Unit.Core
2119
{

tests/CommandLine.Tests/Unit/Core/InstanceChooserTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
using System.Collections.Generic;
55
using System.Globalization;
66
using System.Linq;
7+
using Xunit;
8+
using FluentAssertions;
79
using CommandLine.Core;
810
using CommandLine.Tests.Fakes;
9-
using FluentAssertions;
10-
using Xunit;
1111

1212
namespace CommandLine.Tests.Unit.Core
1313
{

tests/CommandLine.Tests/Unit/Core/KeyValuePairHelperTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
using System.Collections.Generic;
44
using System.Linq;
5-
using CommandLine.Core;
65
using Xunit;
6+
using CommandLine.Core;
77

88
namespace CommandLine.Tests.Unit.Core
99
{

tests/CommandLine.Tests/Unit/Core/NameLookupTests.cs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information.
22

3-
using CommandLine.Core;
4-
5-
using CSharpx;
6-
7-
using FluentAssertions;
8-
93
using System;
104
using System.Collections.Generic;
11-
125
using Xunit;
6+
using FluentAssertions;
7+
using CommandLine.Core;
8+
using CSharpx;
139

1410
namespace CommandLine.Tests.Unit.Core
1511
{

tests/CommandLine.Tests/Unit/Core/OptionMapperTests.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,14 @@
44
using System.Collections.Generic;
55
using System.Globalization;
66
using System.Linq;
7-
87
#if PLATFORM_DOTNET
98
using System.Reflection;
109
#endif
11-
using CommandLine.Core;
12-
using CommandLine.Tests.Fakes;
13-
1410
using Xunit;
15-
1611
using CSharpx;
17-
1812
using RailwaySharp.ErrorHandling;
13+
using CommandLine.Core;
14+
using CommandLine.Tests.Fakes;
1915

2016
namespace CommandLine.Tests.Unit.Core
2117
{

0 commit comments

Comments
 (0)