Take stars out of types where they make more sense.
[mono-project.git] / mcs / tests / gtest-variance-15.cs
blob7a357ff387fcc6992d95b59bf230e9e04cd09639
1 using System;
3 public class C
5 delegate void D<in T> (T t);
7 static void M<T> (ref T t, D<T> a)
9 a (t);
12 static void M2<T> (T t, D<T> a)
14 a (t);
17 static void MethodArg (object o)
21 public static int Main ()
23 D<object> action = l => Console.WriteLine (l);
24 string s = "value";
26 M (ref s, action);
27 M2 (s, action);
28 return 0;