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: 8a0e08fe40ca36d18096d33638b38be8bd6daaa1 (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 () {}
}