2 writes to SwitchValue
Microsoft.Build.Tasks.Core (2)
XamlTaskFactory\CommandLineGenerator.cs (2)
75
switchToAdd.
SwitchValue
= property.Prefix + property.SwitchName;
139
switchToAdd.
SwitchValue
= enumValue.Prefix + enumValue.SwitchName;
19 references to SwitchValue
Microsoft.Build.Tasks.Core (19)
XamlTaskFactory\CommandLineGenerator.cs (15)
349
clb.AppendSwitchIfNotNull(commandLineToolSwitch.
SwitchValue
, itemName.ItemSpec);
354
clb.AppendSwitchIfNotNull(commandLineToolSwitch.
SwitchValue
, commandLineToolSwitch.TaskItemArray, commandLineToolSwitch.Separator);
398
clb.AppendSwitchIfNotNull(commandLineToolSwitch.
SwitchValue
, fileName);
406
clb.AppendSwitchIfNotNull(commandLineToolSwitch.
SwitchValue
, arrTrimStringList, commandLineToolSwitch.Separator);
417
Match match = regex.Match(commandLineToolSwitch.
SwitchValue
);
420
string prefixToAppend = commandLineToolSwitch.
SwitchValue
.Substring(match.Index + match.Length, commandLineToolSwitch.
SwitchValue
.Length - (match.Index + match.Length));
426
valueToAppend = commandLineToolSwitch.
SwitchValue
.Substring(0, match.Index) + switchValue + "\\" + prefixToAppend;
430
valueToAppend = commandLineToolSwitch.
SwitchValue
.Substring(0, match.Index) + switchValue + prefixToAppend;
457
clb.AppendSwitch(commandLineToolSwitch.
SwitchValue
+ commandLineToolSwitch.Separator + numberAsString);
461
clb.AppendSwitch(commandLineToolSwitch.
SwitchValue
+ numberAsString);
481
strSwitch += commandLineToolSwitch.
SwitchValue
+ commandLineToolSwitch.Separator;
506
str = commandLineToolSwitch.
SwitchValue
;
558
if (!String.IsNullOrEmpty(commandLineToolSwitch.
SwitchValue
))
563
val.Insert(0, commandLineToolSwitch.
SwitchValue
);
XamlTaskFactory\XamlDataDrivenToolTask.cs (4)
124
if (switchToAdd.
SwitchValue
!= String.Empty)
126
ActiveToolSwitchesValues.Add(switchToAdd.
SwitchValue
, switchToAdd);
233
if (String.Equals(overridePair.Key, (overriddenSwitch.Value.Type == CommandLineToolSwitchType.Boolean && !overriddenSwitch.Value.BooleanValue) ? overriddenSwitch.Value.ReverseSwitchValue.TrimStart('/') : overriddenSwitch.Value.
SwitchValue
.TrimStart('/'), StringComparison.OrdinalIgnoreCase))
239
if (String.Equals(overrideTarget.Value.
SwitchValue
.TrimStart('/'), overridePair.Value, StringComparison.OrdinalIgnoreCase))