summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0629.cs
blob: b41893ff2694ca71b1064eb454759ea08fdb8514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0629: Conditional member `DerivedClass.Show(int)' cannot implement interface member `IFace.Show(int)'
// Line: 12

interface IFace
{
        void Show (int arg);
}

class DerivedClass: IFace
{
        [System.Diagnostics.Conditional("DEBUG")]
        public void Show (int arg) {}
}