Skip to content

Commit f2bc305

Browse files
premunmarcpopMSFT
authored andcommitted
Fix the build
1 parent 85825e6 commit f2bc305

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

src/Cli/dotnet/Commands/Workload/WorkloadCommandParser.cs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,10 @@ private static Command ConstructCommand()
174174

175175
private class ShowWorkloadsInfoAction : SynchronousCommandLineAction
176176
{
177-
public override bool Terminating => true;
177+
public ShowWorkloadsInfoAction()
178+
{
179+
Terminating = true;
180+
}
178181

179182
public override int Invoke(ParseResult parseResult)
180183
{
@@ -186,7 +189,10 @@ public override int Invoke(ParseResult parseResult)
186189

187190
private class ShowWorkloadsVersionOption : SynchronousCommandLineAction
188191
{
189-
public override bool Terminating => true;
192+
public ShowWorkloadsVersionOption()
193+
{
194+
Terminating = true;
195+
}
190196

191197
public override int Invoke(ParseResult parseResult)
192198
{

src/Cli/dotnet/Parser.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,10 @@ public override void Write(HelpContext context)
427427

428428
private class PrintCliSchemaAction : SynchronousCommandLineAction
429429
{
430-
public override bool Terminating => true;
430+
public PrintCliSchemaAction()
431+
{
432+
Terminating = true;
433+
}
431434

432435
public override int Invoke(ParseResult parseResult)
433436
{

0 commit comments

Comments
 (0)