[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git] / mcs / errors / cs0109-10.cs
1 // CS0109: The member `Derived<U>.Action' does not hide an inherited member. The new keyword is not required
2 // Line: 12
3 // Compiler options: -warnaserror -warn:4
4
5 public abstract class Base
6 {
7         public delegate void Action<U>(U val);
8 }
9
10 public class Derived<U> : Base
11 {
12         new internal Action<U> Action;
13 }