2004-10-01 John Luke <john.luke@gmail.com>
[mono.git] / mcs / errors / cs0108-3.cs
1 // cs0108.cs: The new keyword is required on 'O.InnerAttribute()' because it hides inherited member
2 // Line: 12
3 // Compiler options: -t:library
4
5 using System;
6
7 public class Base
8 {
9     public void InnerAttribute () {}
10 }
11
12 class O: Base
13 {
14     [AttributeUsage(AttributeTargets.Class)]
15     public sealed class InnerAttribute: Attribute {
16     }        
17 }