Files
mono/mcs/errors/cs0657-16.cs
T
Marek Safar f64e0c0b44 2004-05-18 Marek Safar <[email protected]>
* cs0592-8.cs,
	* cs0657-{2-17}.cs,
	* cs1518-3.cs: 18 new error tests.

svn path=/trunk/mcs/; revision=27570
2004-05-18 07:56:35 +00:00

19 lines
388 B
C#

// cs0657.cs : 'event' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'method, param, return'
// Line: 14
using System;
[AttributeUsage(AttributeTargets.All)]
public class TestAttribute: Attribute
{
}
class C
{
event ResolveEventHandler field {
[event: Test]
add {}
remove {}
}
}