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

cs0071.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2ebccf4c67c77f35cd96eadf27213db833a8cb98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// cs0071.cs: An explicit implementation of an event must use property syntax.
// Line: 13

using System;

public delegate void Foo (object source);

interface IFoo {
	event Foo OnFoo;
}
	
class ErrorCS0071 : IFoo {
	event Foo IFoo.OnFoo () { }
	public static void Main () {
	}
}