Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

22 lines
417 B
C#

// CS0108: `O.InnerAttribute' hides inherited member `Base.InnerAttribute()'. Use the new keyword if hiding was intended
// Line: 12
// Compiler options: -warnaserror -warn:2
using System;
public class Base
{
public void InnerAttribute () {}
}
class O: Base
{
[AttributeUsage(AttributeTargets.Class)]
public sealed class InnerAttribute: Attribute {
}
}
class D {
static void Main () {}
}