Fix DateTime.Now and CurrentTimeToUtc during DST transition time (#4172)
[mono-project.git] / mcs / tests / test-anon-164.cs
blob91fdea2fd3d63e36189a278af63eccb6e144816e
1 using System;
3 class C<T> where T : C<T>
5 public static void Foo<U> (U arg) where U : C<U>, new ()
7 var i = new U ();
9 var ii = new U ();
10 Func<U> f = () => i;
12 Action a = () => C<U>.Run (ii);
13 a ();
15 f ();
19 static void Run (T a)
24 class D : C<D>
28 class E : C<E>
32 class A
34 public static int Main ()
36 D.Foo (new E ());
37 return 0;