* common/basic-profile-check.cs: Bump bootstrap requirement to Mono
2.4+.
svn path=/trunk/mcs/; revision=147415
+2009-12-02 Marek Safar <marek.safar@gmail.com>
+
+ * common/basic-profile-check.cs: Bump bootstrap requirement to Mono
+ 2.4+.
+
2009-11-17 Marek Habersack <mhabersack@novell.com>
* tests.make (TEST_RUNTIME_WRAPPERS_PATH): added - used to set up
static int Main ()
{
// Check installed mscorlib
- // Type is included in Mono 2.0+, and .NET 2.0 SP1+
- object o = typeof (System.Runtime.GCLatencyMode);
+ // Type is included in Mono 2.4+, and .NET 3.5 SP1
+ object o = typeof (System.Runtime.InteropServices.AllowReversePInvokeCallsAttribute);
+
+ // It should crash but double check it in case of very old old runtime
+ if (o == null)
+ return 1;
+
return 0;
}
}