22 instantiations of CommandLineParser
Microsoft.Build.CommandLine.UnitTests (21)
CommandLineSwitches_Tests.cs (16)
625CommandLineParser parser = new CommandLineParser(); 636CommandLineParser parser = new CommandLineParser(); 714CommandLineParser parser = new CommandLineParser(); 727CommandLineParser parser = new CommandLineParser(); 740CommandLineParser parser = new CommandLineParser(); 753CommandLineParser parser = new CommandLineParser(); 766CommandLineParser parser = new CommandLineParser(); 1298CommandLineParser parser = new CommandLineParser(); 1314CommandLineParser parser = new CommandLineParser(); 1340CommandLineParser parser = new CommandLineParser(); 1364CommandLineParser parser = new CommandLineParser(); 1387CommandLineParser parser = new CommandLineParser(); 1405CommandLineParser parser = new CommandLineParser(); 1426CommandLineParser parser = new CommandLineParser(); 1448CommandLineParser parser = new CommandLineParser(); 1474CommandLineParser parser = new CommandLineParser();
XMake_Tests.cs (5)
99CommandLineParser parser = new CommandLineParser(); 115CommandLineParser parser = new CommandLineParser(); 133CommandLineParser parser = new CommandLineParser(); 151CommandLineParser parser = new CommandLineParser(); 172CommandLineParser parser = new CommandLineParser();
MSBuild (1)
XMake.cs (1)
163commandLineParser = new CommandLineParser();
41 references to CommandLineParser
Microsoft.Build.CommandLine.UnitTests (40)
CommandLineSwitches_Tests.cs (16)
625CommandLineParser parser = new CommandLineParser(); 636CommandLineParser parser = new CommandLineParser(); 714CommandLineParser parser = new CommandLineParser(); 727CommandLineParser parser = new CommandLineParser(); 740CommandLineParser parser = new CommandLineParser(); 753CommandLineParser parser = new CommandLineParser(); 766CommandLineParser parser = new CommandLineParser(); 1298CommandLineParser parser = new CommandLineParser(); 1314CommandLineParser parser = new CommandLineParser(); 1340CommandLineParser parser = new CommandLineParser(); 1364CommandLineParser parser = new CommandLineParser(); 1387CommandLineParser parser = new CommandLineParser(); 1405CommandLineParser parser = new CommandLineParser(); 1426CommandLineParser parser = new CommandLineParser(); 1448CommandLineParser parser = new CommandLineParser(); 1474CommandLineParser parser = new CommandLineParser();
XMake_Tests.cs (24)
99CommandLineParser parser = new CommandLineParser(); 115CommandLineParser parser = new CommandLineParser(); 133CommandLineParser parser = new CommandLineParser(); 151CommandLineParser parser = new CommandLineParser(); 172CommandLineParser parser = new CommandLineParser(); 467CommandLineParser.ExtractSwitchParameters(commandLineArg, unquotedCommandLineArg, doubleQuotesRemovedFromArg, "p", unquotedCommandLineArg.IndexOf(':'), 1).ShouldBe(":\"foo=\"bar"); 472CommandLineParser.ExtractSwitchParameters(commandLineArg, unquotedCommandLineArg, doubleQuotesRemovedFromArg, "p", unquotedCommandLineArg.IndexOf(':'), 1).ShouldBe(":foo=bar"); 477CommandLineParser.ExtractSwitchParameters(commandLineArg, unquotedCommandLineArg, doubleQuotesRemovedFromArg, "p", unquotedCommandLineArg.IndexOf(':'), 1).ShouldBe(":foo=bar"); 482CommandLineParser.ExtractSwitchParameters(commandLineArg, unquotedCommandLineArg, doubleQuotesRemovedFromArg, "p", unquotedCommandLineArg.IndexOf(':'), 1).ShouldBe(":foo=bar\""); 489CommandLineParser.ExtractSwitchParameters(commandLineArg, unquotedCommandLineArg, doubleQuotesRemovedFromArg, "/p", unquotedCommandLineArg.IndexOf(':'), 1).ShouldBe(":foo=bar\""); 494CommandLineParser.ExtractSwitchParameters(commandLineArg, unquotedCommandLineArg, doubleQuotesRemovedFromArg, "property", unquotedCommandLineArg.IndexOf(':'), 1).ShouldBe(":foo=bar"); 499CommandLineParser.ExtractSwitchParameters(commandLineArg, unquotedCommandLineArg, doubleQuotesRemovedFromArg, "property", unquotedCommandLineArg.IndexOf(':'), 1).ShouldBe(":foo=bar"); 504CommandLineParser.ExtractSwitchParameters(commandLineArg, unquotedCommandLineArg, doubleQuotesRemovedFromArg, "p", unquotedCommandLineArg.IndexOf(':'), 1).ShouldBe(":\"foo foo\"=\"bar bar\";\"baz=onga\""); 513CommandLineParser.ExtractSwitchParameters(commandLineArg, unquotedCommandLineArg, doubleQuotesRemovedFromArg, "p", unquotedCommandLineArg.IndexOf(':'), 2).ShouldBe(":\"foo=\"bar"); 518CommandLineParser.ExtractSwitchParameters(commandLineArg, unquotedCommandLineArg, doubleQuotesRemovedFromArg, "p", unquotedCommandLineArg.IndexOf(':'), 2).ShouldBe(":foo=bar"); 523CommandLineParser.ExtractSwitchParameters(commandLineArg, unquotedCommandLineArg, doubleQuotesRemovedFromArg, "p", unquotedCommandLineArg.IndexOf(':'), 2).ShouldBe(":foo=bar"); 528CommandLineParser.ExtractSwitchParameters(commandLineArg, unquotedCommandLineArg, doubleQuotesRemovedFromArg, "p", unquotedCommandLineArg.IndexOf(':'), 2).ShouldBe(":foo=bar\""); 533CommandLineParser.ExtractSwitchParameters(commandLineArg, unquotedCommandLineArg, doubleQuotesRemovedFromArg, "property", unquotedCommandLineArg.IndexOf(':'), 2).ShouldBe(":foo=bar"); 538CommandLineParser.ExtractSwitchParameters(commandLineArg, unquotedCommandLineArg, doubleQuotesRemovedFromArg, "property", unquotedCommandLineArg.IndexOf(':'), 2).ShouldBe(":foo=bar"); 543CommandLineParser.ExtractSwitchParameters(commandLineArg, unquotedCommandLineArg, doubleQuotesRemovedFromArg, "p", unquotedCommandLineArg.IndexOf(':'), 2).ShouldBe(":\"foo foo\"=\"bar bar\";\"baz=onga\""); 556CommandLineParser.GetLengthOfSwitchIndicator(commandLineSwitchWithSlash).ShouldBe(1); 557CommandLineParser.GetLengthOfSwitchIndicator(commandLineSwitchWithSingleDash).ShouldBe(1); 558CommandLineParser.GetLengthOfSwitchIndicator(commandLineSwitchWithDoubleDash).ShouldBe(2); 560CommandLineParser.GetLengthOfSwitchIndicator(commandLineSwitchWithNoneOrIncorrectIndicator).ShouldBe(0);
MSBuild (1)
XMake.cs (1)
146private static CommandLineParser commandLineParser;