17 references to GetParameterizedSwitchCommandLineArg
Microsoft.Build.CommandLine.UnitTests (13)
CommandLineSwitches_Tests.cs (13)
775
Assert.Equal("/v:q", switches.
GetParameterizedSwitchCommandLineArg
(CommandLineSwitches.ParameterizedSwitch.Verbosity));
788
Assert.Equal("/v:q /verbosity:\"diag\";minimal", switches.
GetParameterizedSwitchCommandLineArg
(CommandLineSwitches.ParameterizedSwitch.Verbosity));
806
Assert.Null(switches.
GetParameterizedSwitchCommandLineArg
(CommandLineSwitches.ParameterizedSwitch.Target));
819
Assert.Equal("/t:\"", switches.
GetParameterizedSwitchCommandLineArg
(CommandLineSwitches.ParameterizedSwitch.Target));
831
Assert.Equal("/t:\" /t:A,\"\";B", switches.
GetParameterizedSwitchCommandLineArg
(CommandLineSwitches.ParameterizedSwitch.Target));
849
Assert.Null(switches.
GetParameterizedSwitchCommandLineArg
(CommandLineSwitches.ParameterizedSwitch.Logger));
860
Assert.Equal("/l:\"", switches.
GetParameterizedSwitchCommandLineArg
(CommandLineSwitches.ParameterizedSwitch.Logger));
873
Assert.Equal("/l:\" /LOGGER:\"\",asm;\"p,a;r\"", switches.
GetParameterizedSwitchCommandLineArg
(CommandLineSwitches.ParameterizedSwitch.Logger));
1030
Assert.Equal("tempproject.proj", switchesLeft.
GetParameterizedSwitchCommandLineArg
(CommandLineSwitches.ParameterizedSwitch.Project));
1039
Assert.Equal("/t:build", switchesLeft.
GetParameterizedSwitchCommandLineArg
(CommandLineSwitches.ParameterizedSwitch.Target));
1066
Assert.Equal("/t:\"RESOURCES\";build", switchesLeft.
GetParameterizedSwitchCommandLineArg
(CommandLineSwitches.ParameterizedSwitch.Target));
1094
switches.
GetParameterizedSwitchCommandLineArg
(CommandLineSwitches.ParameterizedSwitch.Target).ShouldBe(commandLineArg);
1133
Assert.Equal("tempproject.proj", switchesLeft.
GetParameterizedSwitchCommandLineArg
(CommandLineSwitches.ParameterizedSwitch.Project));
MSBuild (4)
CommandLineSwitches.cs (2)
596
commandLineB.Add(
GetParameterizedSwitchCommandLineArg
((ParameterizedSwitch)i));
964
switchesToAppend.
GetParameterizedSwitchCommandLineArg
((ParameterizedSwitch)j), commandLine);
XMake.cs (2)
2795
commandLineSwitches.
GetParameterizedSwitchCommandLineArg
(CommandLineSwitches.ParameterizedSwitch.WarningsNotAsErrors),
3079
string val = commandLineSwitches.
GetParameterizedSwitchCommandLineArg
(CommandLineSwitches.ParameterizedSwitch.WarningsAsErrors);