Skip to content

Commit c594e85

Browse files
committed
Updated the CommandParsingException namespace to align with the root project directory.
1 parent 6b5124d commit c594e85

File tree

11 files changed

+1
-15
lines changed

11 files changed

+1
-15
lines changed

src/Cli/dotnet/CommandParsingException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using System.CommandLine;
55

6-
namespace Microsoft.DotNet.Cli.CommandLineValidation;
6+
namespace Microsoft.DotNet.Cli;
77

88
internal class CommandParsingException : Exception
99
{

src/Cli/dotnet/Extensions/ParseResultExtensions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using System.CommandLine.Parsing;
66
using System.Diagnostics;
77
using System.Text.RegularExpressions;
8-
using Microsoft.DotNet.Cli.CommandLineValidation;
98
using Microsoft.DotNet.Cli.Utils;
109
using Microsoft.DotNet.Cli.Utils.Extensions;
1110
using static Microsoft.DotNet.Cli.Parser;

src/Cli/dotnet/Parser.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using System.CommandLine.Completions;
66
using System.CommandLine.Help;
77
using System.Reflection;
8-
using Microsoft.DotNet.Cli.CommandLineValidation;
98
using Microsoft.DotNet.Cli.Extensions;
109
using Microsoft.DotNet.Cli.Utils;
1110
using Microsoft.DotNet.Cli.Utils.Extensions;

src/Cli/dotnet/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
using Microsoft.DotNet.Cli.Extensions;
1616
using Microsoft.DotNet.Cli.CommandFactory;
1717
using Microsoft.DotNet.Cli.ShellShim;
18-
using Microsoft.DotNet.Cli.CommandLineValidation;
1918

2019
namespace Microsoft.DotNet.Cli;
2120

test/dotnet-add-reference.Tests/GivenDotnetAddReference.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
#nullable disable
55

6-
using Microsoft.DotNet.Cli.CommandLineValidation;
7-
using Microsoft.DotNet.Tools;
86
using Msbuild.Tests.Utilities;
97

108
namespace Microsoft.DotNet.Cli.Add.Reference.Tests

test/dotnet-list-reference.Tests/GivenDotnetListReference.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using Microsoft.DotNet.Cli.CommandLineValidation;
54
using Microsoft.DotNet.Cli.Utils;
6-
using Microsoft.DotNet.Tools;
75
using Msbuild.Tests.Utilities;
86

97
namespace Microsoft.DotNet.Cli.List.Reference.Tests

test/dotnet-remove-reference.Tests/GivenDotnetRemoveP2P.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33

44
#nullable disable
55

6-
using Microsoft.DotNet.Cli.CommandLineValidation;
76
using Microsoft.DotNet.Cli.Utils;
8-
using Microsoft.DotNet.Tools;
97
using Msbuild.Tests.Utilities;
108

119
namespace Microsoft.DotNet.Cli.Remove.Reference.Tests

test/dotnet-workload-search.Tests/GivenDotnetWorkloadSearch.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#nullable disable
55

66
using Microsoft.Deployment.DotNet.Releases;
7-
using Microsoft.DotNet.Cli.CommandLineValidation;
87
using Microsoft.DotNet.Cli.NuGetPackageDownloader;
98
using Microsoft.DotNet.Cli.Workload.Install.Tests;
109
using Microsoft.DotNet.Workloads.Workload.Search;

test/dotnet.Tests/ParserTests/AddReferenceParserTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44
using Microsoft.DotNet.Cli;
5-
using Microsoft.DotNet.Cli.CommandLineValidation;
65
using Microsoft.DotNet.Cli.Utils;
76
using Parser = Microsoft.DotNet.Cli.Parser;
87

test/dotnet.Tests/ParserTests/BuildRelatedCommandParserTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44
using System.CommandLine;
5-
using Microsoft.DotNet.Cli;
6-
using Microsoft.DotNet.Cli.CommandLineValidation;
75
using Parser = Microsoft.DotNet.Cli.Parser;
86

97
namespace Microsoft.DotNet.Tests.ParserTests

0 commit comments

Comments
 (0)