2 // Check installed compiler
3 static void Generic<T> () { }
7 // Check installed mscorlib
8 // Type is included in Mono 2.4+, and .NET 3.5 SP1
9 object o = typeof (System.Runtime.InteropServices.AllowReversePInvokeCallsAttribute);
11 // It should crash but double check it in case of very old old runtime