@@ -12,7 +12,7 @@ namespace Microsoft.DotNet.Cli.Utils;
1212/// </summary>
1313public sealed class MSBuildArgs
1414{
15- private MSBuildArgs ( ReadOnlyDictionary < string , string > ? properties , ReadOnlyDictionary < string , string > ? restoreProperties , string [ ] ? targets , VerbosityOptions ? verbosity , string [ ] ? otherMSBuildArgs )
15+ private MSBuildArgs ( ReadOnlyDictionary < string , string > ? properties , ReadOnlyDictionary < string , string > ? restoreProperties , string [ ] ? targets , Verbosity ? verbosity , string [ ] ? otherMSBuildArgs )
1616 {
1717 GlobalProperties = properties ;
1818 RestoreGlobalProperties = restoreProperties ;
@@ -37,7 +37,7 @@ private MSBuildArgs(ReadOnlyDictionary<string, string>? properties, ReadOnlyDict
3737 /// The ordered list of targets that should be passed to MSBuild.
3838 /// </summary>
3939 public string [ ] ? RequestedTargets { get ; }
40- public VerbosityOptions ? Verbosity { get ; }
40+ public Verbosity ? Verbosity { get ; }
4141
4242 /// <summary>
4343 /// All other arguments that aren't already explicitly modeled by this structure.
@@ -71,7 +71,7 @@ public static MSBuildArgs AnalyzeMSBuildArguments(IEnumerable<string> forwardedA
7171 var restoreProperties = parseResult . GetResult ( "--restoreProperty" ) is OptionResult restoreResult ? restoreResult . GetValueOrDefault < ReadOnlyDictionary < string , string > ? > ( ) : null ;
7272 var requestedTargets = parseResult . GetResult ( "--target" ) is OptionResult targetResult ? targetResult . GetValueOrDefault < string [ ] ? > ( ) : null ;
7373 var verbosity = parseResult . GetResult ( "--verbosity" ) is OptionResult verbosityResult
74- ? verbosityResult . GetValueOrDefault < VerbosityOptions ? > ( )
74+ ? verbosityResult . GetValueOrDefault < Verbosity ? > ( )
7575 : null ;
7676 var otherMSBuildArgs = parseResult . UnmatchedTokens . ToArray ( ) ;
7777 return new MSBuildArgs (
@@ -92,7 +92,7 @@ public static MSBuildArgs FromOtherArgs(params ReadOnlySpan<string> args)
9292 {
9393 return new MSBuildArgs ( null , null , null , null , args . ToArray ( ) ) ;
9494 }
95- public static MSBuildArgs FromVerbosity ( VerbosityOptions verbosity )
95+ public static MSBuildArgs FromVerbosity ( Verbosity verbosity )
9696 {
9797 return new MSBuildArgs ( null , null , null , verbosity , null ) ;
9898 }
@@ -174,7 +174,7 @@ public MSBuildArgs CloneWithAdditionalTargets(params ReadOnlySpan<string> additi
174174 return new MSBuildArgs ( GlobalProperties , RestoreGlobalProperties , newTargets , Verbosity , OtherMSBuildArgs . ToArray ( ) ) ;
175175 }
176176
177- public MSBuildArgs CloneWithVerbosity ( VerbosityOptions newVerbosity )
177+ public MSBuildArgs CloneWithVerbosity ( Verbosity newVerbosity )
178178 {
179179 return new MSBuildArgs ( GlobalProperties , RestoreGlobalProperties , RequestedTargets , newVerbosity , OtherMSBuildArgs . ToArray ( ) ) ;
180180 }
0 commit comments