mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* syntax0068.cs, syntax0069.cs, syntax0071.cs, syntax0116.cs: These are syntax errors which we'd need to catch in cs-parser.jay; separate them from the other errors. * cs0572.cs: New test. svn path=/trunk/mcs/; revision=16497
19 lines
255 B
C#
19 lines
255 B
C#
// cs0069.cs: Event cannot have add or remove accessors in an interface.
|
|
// Line: 13
|
|
|
|
using System;
|
|
|
|
class ErrorCS0069 {
|
|
public delegate void FooHandler ();
|
|
public static void Main () {
|
|
}
|
|
}
|
|
|
|
interface IBar {
|
|
event OnFoo {
|
|
add { }
|
|
remove { }
|
|
}
|
|
}
|
|
|