53 references to IsParameterizedSwitchSet
Microsoft.Build.CommandLine.UnitTests (23)
CommandLineSwitches_Tests.cs (23)
776
Assert.True(switches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Verbosity));
789
Assert.True(switches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Verbosity));
807
Assert.False(switches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Target));
820
Assert.True(switches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Target));
832
Assert.True(switches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Target));
850
Assert.False(switches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Logger));
861
Assert.True(switches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Logger));
874
Assert.True(switches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Logger));
893
Assert.True(switches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.WarningsAsErrors));
1018
Assert.True(switchesLeft.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Project));
1019
Assert.False(switchesLeft.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Target));
1025
Assert.False(switchesRight.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Project));
1026
Assert.True(switchesRight.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Target));
1031
Assert.True(switchesLeft.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Project));
1040
Assert.True(switchesLeft.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Target));
1056
Assert.True(switchesLeft.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Target));
1062
Assert.True(switchesRight.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Target));
1067
Assert.True(switchesLeft.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Target));
1089
switches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Target).ShouldBeTrue();
1109
switches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Target).ShouldBeTrue();
1123
Assert.True(switchesLeft.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Project));
1129
Assert.True(switchesRight.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Project));
1134
Assert.True(switchesLeft.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Project));
MSBuild (30)
CommandLineSwitches.cs (5)
594
if (
IsParameterizedSwitchSet
((ParameterizedSwitch)i) && ((ParameterizedSwitch)i != ParameterizedSwitch.Project))
742
if (
IsParameterizedSwitchSet
(parameterizedSwitch))
780
if (
IsParameterizedSwitchSet
((ParameterizedSwitch)j))
948
if (switchesToAppend.
IsParameterizedSwitchSet
((ParameterizedSwitch)j))
950
if (!
IsParameterizedSwitchSet
((ParameterizedSwitch)j) ||
XMake.cs (25)
327
commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.NodeMode) ||
356
if (commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Interactive) &&
2367
if (!commandLineSwitches.
IsParameterizedSwitchSet
(parameterizedSwitch) ||
2552
if (commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.LowPriority))
2580
else if (commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.NodeMode))
2595
else if (commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.FeatureAvailability))
2693
if (commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Preprocess))
2700
if (commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Targets))
2711
if (commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Restore))
2716
if (commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Interactive))
2721
if (commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.IsolateProjects))
2726
if (commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.GraphBuild))
2731
question = commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Question);
2769
if (commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.DetailedSummary))
2791
if (commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.WarningsNotAsErrors) &&
2810
bool isBuildCheckEnabled = commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Check);
2902
if (!commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.TerminalLogger))
3155
return commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.OutputResultsCache)
3162
return commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.InputResultsCaches)
3255
if (!commandLineSwitches.
IsParameterizedSwitchSet
(warningSwitch))
4568
!commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.Preprocess) &&
4569
!commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.GetProperty) &&
4570
!commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.GetItem) &&
4571
!commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.GetTargetResult) &&
4572
!commandLineSwitches.
IsParameterizedSwitchSet
(CommandLineSwitches.ParameterizedSwitch.FeatureAvailability) &&