24 references to GatherCommandLineSwitches
Microsoft.Build.CommandLine.UnitTests (22)
CommandLineSwitches_Tests.cs (17)
626
parser.
GatherCommandLineSwitches
(new List<string>() { "/targets:targets.txt" }, switches);
637
parser.
GatherCommandLineSwitches
(new List<string>() { "/targets /targets" }, switches);
716
parser.
GatherCommandLineSwitches
(new List<string> { "/graph", "/graph:true; NoBuild ;; ;", "/graph:foo" }, switches);
729
parser.
GatherCommandLineSwitches
(new List<string> { "/graph" }, switches);
742
parser.
GatherCommandLineSwitches
(new List<string>() { "/irc", "/irc:a;b", "/irc:c;d" }, switches);
755
parser.
GatherCommandLineSwitches
(new List<string>() { "/orc:a" }, switches);
768
parser.
GatherCommandLineSwitches
(new List<string>() { "/orc:a", "/orc:b" }, switches);
1300
parser.
GatherCommandLineSwitches
(new List<string>(new[] { "" }), commandLineSwitches);
1316
parser.
GatherCommandLineSwitches
(new List<string>(new[]
1342
parser.
GatherCommandLineSwitches
(new List<string>(new[]
1366
parser.
GatherCommandLineSwitches
(new List<string>(new[]
1389
parser.
GatherCommandLineSwitches
(new List<string>(new[] { "/warnaserror" }), commandLineSwitches);
1409
parser.
GatherCommandLineSwitches
(new List<string>(new[] { "/warnasmessage" }), commandLineSwitches, command);
1429
parser.
GatherCommandLineSwitches
(new List<string>() { "validProject.csproj", "%ENVIRONMENTVARIABLE%" }, commandLineSwitches, fullCommandLine);
1434
parser.
GatherCommandLineSwitches
(new List<string>() { "%ENVIRONMENTVARIABLE%", "validProject.csproj" }, commandLineSwitches, fullCommandLine);
1450
parser.
GatherCommandLineSwitches
(new List<string>(new[]
1476
parser.
GatherCommandLineSwitches
(new List<string>(new[] { "/profileevaluation" }), commandLineSwitches);
XMake_Tests.cs (5)
104
parser.
GatherCommandLineSwitches
(arguments, switches);
122
parser.
GatherCommandLineSwitches
(arguments, switches);
138
parser.
GatherCommandLineSwitches
(arguments, switches);
156
parser.
GatherCommandLineSwitches
(arguments, switches);
177
parser.
GatherCommandLineSwitches
(arguments, switches);
MSBuild (2)
CommandLine\CommandLineParser.cs (2)
109
GatherCommandLineSwitches
(commandLineArgs, switchesNotFromAutoResponseFile, fullCommandLine);
413
GatherCommandLineSwitches
(argsFromResponseFile, commandLineSwitches, commandLine);