mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-21 07:39:30 -10:00
* cs0592-8.cs,
* cs0657-{2-17}.cs,
* cs1518-3.cs: 18 new error tests.
svn path=/trunk/mcs/; revision=27570
19 lines
388 B
C#
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 {}
|
|
|
|
}
|
|
} |