Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0065.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 67548f8421e3027b622d2acee0b230a7d9684599 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs0065.cs: 'EventClass.handler' : event property must have both add and remove accessors
// Line : 9

using System;

public delegate void EventHandler (object sender, EventArgs e);

public class EventClass {
        event EventHandler handler {}
}

public class MainClass {
	public static void Main () {}
}