Take stars out of types where they make more sense.
[mono-project.git] / mcs / tests / dtest-037-lib.cs
blobe326a840b37f2178bfbb5addbc9f75657d1978f7
1 // Compiler options: -t:library
3 public interface I<T>
5 T Value { get; }
8 public class AI: I<object>
10 public object Value { get; set; }
13 public class External
15 public dynamic DynamicProperty { get; set; }
16 public dynamic Field;
17 public dynamic[,] FieldArray;
19 public dynamic Method (dynamic d)
21 return d;
24 public void MethodOut (out dynamic d)
26 d = decimal.MaxValue;
29 public I<dynamic>[] Method2 (dynamic d)
31 return new [] { new AI () { Value = d }};
34 // Same as Method2 to check we are interning dynamic
35 public I<dynamic>[] Method3 (dynamic d)
37 return d;
41 public class CI<T> : I<T>
43 public T Value { get; set; }
46 public class CI2 : CI<dynamic>