2 writes to Reversible
Microsoft.Build.Tasks.Core (2)
XamlTaskFactory\Property.cs (1)
217
Reversible
= Reversible,
XamlTaskFactory\TaskParser.cs (1)
447
parameter.
Reversible
= "true";
10 references to Reversible
Microsoft.Build.Tasks.Core (6)
XamlTaskFactory\CommandLineGenerator.cs (2)
61
if (!String.IsNullOrEmpty(property.
Reversible
) && String.Equals(property.
Reversible
, "true", StringComparison.OrdinalIgnoreCase))
XamlTaskFactory\Property.cs (1)
217
Reversible =
Reversible
,
XamlTaskFactory\TaskGenerator.cs (3)
639
if (!String.IsNullOrEmpty(property.
Reversible
) && String.Equals(property.
Reversible
, IsOn, StringComparison.OrdinalIgnoreCase))
641
GenerateAssignPropertyToValue(propertyName, ReversibleProperty, new CodeSnippetExpression(property.
Reversible
));
Microsoft.Build.Tasks.UnitTests (4)
XamlTaskFactory_Tests.cs (4)
184
Assert.Equal("true", properties.First.Value.
Reversible
); // "Switch should be marked as reversible"
192
Assert.Equal("true", properties.First.Value.
Reversible
); // "Switch should be marked as reversible"
235
Assert.Equal(String.Empty, properties.First.Value.
Reversible
); // "Switch should NOT marked as reversible"
260
Assert.Equal(String.Empty, properties.First.Value.
Reversible
); // "Switch should NOT be marked as reversible"