Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0109-11.cs
1 // CS0109: The member `Wrapper.DerivedClass.AnInt' does not hide an inherited member. The new keyword is not required
2 // Line: 18
3 // Compiler options: -warnaserror
4
5 public abstract class BaseClass
6 {
7         private static readonly int AnInt = 1;
8
9         public static void Main ()
10         {
11         }
12 }
13
14 public static class Wrapper
15 {
16         public class DerivedClass : BaseClass
17         {
18                 private new static readonly int AnInt = 2;
19         }
20 }