5 references to Parse
dotnet-watch (1)
Program.cs (1)
70
var options = CommandLineOptions.
Parse
(args, parsingLoggerFactory.CreateLogger(LogComponentName), console.Out, out errorCode);
dotnet-watch.Tests (4)
CommandLine\CommandLineOptionsTests.cs (3)
18
var options = CommandLineOptions.
Parse
(args, _testLogger, output: output, errorCode: out var errorCode);
31
var options = CommandLineOptions.
Parse
(args, _testLogger, output: output, errorCode: out var errorCode);
48
var options = CommandLineOptions.
Parse
(args, _testLogger, output: output, errorCode: out var errorCode);
TestUtilities\TestOptions.cs (1)
21
=> CommandLineOptions.
Parse
(args, NullLogger.Instance, TextWriter.Null, out _) ?? throw new InvalidOperationException();