2 using System
.Collections
.Generic
;
3 using System
.Runtime
.CompilerServices
;
7 public static int Main (string[] args
) {
8 return TestDriver
.RunTests (typeof (Tests
), args
);
11 public static int test_0_simple () {
12 object o
= new object ();
16 } catch (InvalidCastException ex
) {
17 if (!ex
.Message
.Contains ("System.Object") || !ex
.Message
.Contains ("System.String"))
23 public static int test_0_complex_1 () {
24 object o
= new object ();
26 IEnumerable
<object> ie
= (IEnumerable
<object>)o
;
28 } catch (InvalidCastException ex
) {
29 if (!ex
.Message
.Contains ("System.Object") || !ex
.Message
.Contains ("System.Collections.Generic.IEnumerable`1[System.Object]"))
35 [MethodImplAttribute (MethodImplOptions
.NoInlining
)]
36 public static object return_null () {
40 public static int test_0_complex_1_null () {
41 object o
= return_null ();
42 IEnumerable
<object> ie
= (IEnumerable
<object>)o
;