[System.Core] Make sure DateTime.AddDays() is preserved by the linker in a test
commit5a86dd34216d3da6a5d5f518ee72eeac001d129c
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 2 Nov 2015 17:11:29 +0000 (2 18:11 +0100)
committerSebastien Pouliot <sebastien@xamarin.com>
Tue, 3 Nov 2015 00:54:24 +0000 (2 19:54 -0500)
tree1139a127a0473f37fdbe9b5bcc4a3a59ed01155e
parentcb99470f97dd1cc9512bec6baf08f67945763a0e
[System.Core] Make sure DateTime.AddDays() is preserved by the linker in a test

We use the method in the code instead of just via reflection.
This allows the test to work on iOS device builds.
mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_Call.cs