6 writes to Type
Microsoft.Build.Tasks.Core (6)
XamlTaskFactory\CommandLineGenerator.cs (5)
84
switchToAdd.
Type
= CommandLineToolSwitchType.Boolean;
94
switchToAdd.
Type
= CommandLineToolSwitchType.Integer;
115
switchToAdd.
Type
= CommandLineToolSwitchType.ITaskItemArray;
123
switchToAdd.
Type
= CommandLineToolSwitchType.String;
157
switchToAdd.
Type
= CommandLineToolSwitchType.StringArray;
XamlTaskFactory\CommandLineToolSwitch.cs (1)
122
Type
= toolType;
13 references to Type
Microsoft.Build.Tasks.Core (13)
XamlTaskFactory\CommandLineGenerator.cs (2)
242
switch (commandLineToolSwitch.
Type
)
609
if (property.
Type
== CommandLineToolSwitchType.ITaskItemArray)
XamlTaskFactory\CommandLineToolSwitch.cs (8)
243
ErrorUtilities.VerifyThrow(
Type
== CommandLineToolSwitchType.Boolean, "InvalidType", TypeBoolean);
249
ErrorUtilities.VerifyThrow(
Type
== CommandLineToolSwitchType.Boolean, "InvalidType", TypeBoolean);
261
ErrorUtilities.VerifyThrow(
Type
== CommandLineToolSwitchType.Integer, "InvalidType", TypeInteger);
267
ErrorUtilities.VerifyThrow(
Type
== CommandLineToolSwitchType.Integer, "InvalidType", TypeInteger);
280
ErrorUtilities.VerifyThrow(
Type
== CommandLineToolSwitchType.StringArray, "InvalidType", TypeStringArray);
286
ErrorUtilities.VerifyThrow(
Type
== CommandLineToolSwitchType.StringArray, "InvalidType", TypeStringArray);
299
ErrorUtilities.VerifyThrow(
Type
== CommandLineToolSwitchType.ITaskItemArray, "InvalidType", TypeITaskItemArray);
305
ErrorUtilities.VerifyThrow(
Type
== CommandLineToolSwitchType.ITaskItemArray, "InvalidType", TypeITaskItemArray);
XamlTaskFactory\XamlDataDrivenToolTask.cs (3)
122
if (switchToAdd.
Type
!= CommandLineToolSwitchType.Boolean || switchToAdd.BooleanValue)
233
if (String.Equals(overridePair.Key, (overriddenSwitch.Value.
Type
== CommandLineToolSwitchType.Boolean && !overriddenSwitch.Value.BooleanValue) ? overriddenSwitch.Value.ReverseSwitchValue.TrimStart('/') : overriddenSwitch.Value.SwitchValue.TrimStart('/'), StringComparison.OrdinalIgnoreCase))
244
else if ((overrideTarget.Value.
Type
== CommandLineToolSwitchType.Boolean) && (!overrideTarget.Value.BooleanValue) && String.Equals(overrideTarget.Value.ReverseSwitchValue.TrimStart('/'), overridePair.Value, StringComparison.OrdinalIgnoreCase))