15 references to TryConvertToInt
Microsoft.Build (5)
Evaluation\Expander.cs (5)
4734
return
TryConvertToInt
(args[0], out arg0);
4903
return
TryConvertToInt
(args[0], out arg0);
4916
return
TryConvertToInt
(args[0], out arg0) &&
4917
TryConvertToInt
(args[1], out arg1);
4950
if (
TryConvertToInt
(args[0], out arg0) &&
Microsoft.Build.Engine.UnitTests (10)
Evaluation\ExpanderFunction_Tests.cs (10)
28
Expander<IProperty, IItem>.Function<IProperty>.
TryConvertToInt
(null, out int actual).ShouldBeFalse();
36
Expander<IProperty, IItem>.Function<IProperty>.
TryConvertToInt
(value, out int actual).ShouldBeTrue();
44
Expander<IProperty, IItem>.Function<IProperty>.
TryConvertToInt
(value, out int actual).ShouldBeTrue();
52
Expander<IProperty, IItem>.Function<IProperty>.
TryConvertToInt
(value, out int actual).ShouldBeTrue();
60
Expander<IProperty, IItem>.Function<IProperty>.
TryConvertToInt
(value, out int actual).ShouldBeTrue();
69
Expander<IProperty, IItem>.Function<IProperty>.
TryConvertToInt
(value, out int actual).ShouldBeTrue();
78
Expander<IProperty, IItem>.Function<IProperty>.
TryConvertToInt
(value, out int actual).ShouldBeTrue();
86
Expander<IProperty, IItem>.Function<IProperty>.
TryConvertToInt
(value, out int actual).ShouldBeFalse();
94
Expander<IProperty, IItem>.Function<IProperty>.
TryConvertToInt
(value, out int actual).ShouldBeFalse();
102
Expander<IProperty, IItem>.Function<IProperty>.
TryConvertToInt
(value, out int actual).ShouldBeFalse();