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