Merge pull request #1900 from esdrubal/cyclic-ref
[mono-project.git] / mcs / errors / cs1540-19.cs
blobc54f89a10ba3935238a5bf1aa02c29703a4f9e68
1 // CS1540: Cannot access protected member `AAttribute.AAttribute(int)' via a qualifier of type `AAttribute'. The qualifier must be of type `BAttribute' or derived from it
2 // Line: 17
4 using System;
6 public class AAttribute : Attribute
8 public AAttribute ()
12 protected AAttribute (int a)
17 [AAttribute (5)]
18 public class BAttribute : AAttribute
20 public BAttribute () : base ()
24 public BAttribute (int a) : base (a)