summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0067.cs
blob: ef95671a21a08606034568b23d629f3b37106564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS0067: The event `Foo.OnFoo' is never used
// Line: 12
// Compiler options: -warnaserror -warn:4

using System;

class ErrorCS0067 {
	public delegate void FooHandler ();
}

class Foo {
	private event ErrorCS0067.FooHandler OnFoo;
	
	public static void Main () {
	}
}