Use ValueTask

This commit is contained in:
Alexey Golub
2019-12-16 22:12:17 +02:00
parent d2b0b16121
commit 6ce52c70f7
32 changed files with 71 additions and 68 deletions

View File

@@ -14,6 +14,6 @@ namespace CliFx.Tests.TestCommands
[CommandOption("msg", 'm')]
public string? Message { get; set; }
public Task ExecuteAsync(IConsole console) => throw new CommandException(Message, ExitCode);
public ValueTask ExecuteAsync(IConsole console) => throw new CommandException(Message, ExitCode);
}
}