Take stars out of types where they make more sense.
[mono-project.git] / mcs / tests / gtest-variance-12.cs
blob8ae535eaed4ebfab690e8a3de3001dd572b3247d
1 using System;
3 delegate void D<in T> ();
5 interface I<out T>
7 event D<T> field;
10 class D : I<string>
12 public event D<string> field;
14 public static int Main ()
16 D<object> dd = () => {};
18 D d = new D ();
19 d.field += dd;
20 d.field ();
22 return 0;