(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / errors / cs0592-2.cs
blob37ca78caf65393ea24bc6cfa62051ff8e8dd8332
1 // cs0592-2.cs : Attribute 'MyAttribute' is not valid on this declaration type. It is valid on 'interface' declarations only.
2 // Line : 8
4 using System;
6 public interface ITest
8 [MyAttribute]
9 void Method();
12 [AttributeUsage (AttributeTargets.Interface)]
13 public class MyAttributeAttribute : Attribute
17 public class Foo {
19 public static void Main ()