[eglib] In AIX/generic POSIX, handle null addresses better (#17892)
[mono-project.git] / mcs / tests / gtest-051.cs
blobbd0e7eb2dabd0c73583db6820f794242d1603e46
1 using System;
3 public class Foo<T>
4 where T : A
6 public void Test (T t)
8 Console.WriteLine (t);
9 Console.WriteLine (t.GetType ());
10 t.Hello ();
14 public class A
16 public void Hello ()
18 Console.WriteLine ("Hello World");
22 public class B : A
26 class X
28 public static void Main ()
30 Foo<B> foo = new Foo<B> ();
31 foo.Test (new B ());