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