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