18 lines
231 B
C#
18 lines
231 B
C#
|
// CS0073: An add or remove accessor must have a body
|
||
|
// Line: 9
|
||
|
|
||
|
using System;
|
||
|
|
||
|
class ErrorCS0073 {
|
||
|
delegate void Handler ();
|
||
|
event Handler OnFoo {
|
||
|
add;
|
||
|
remove {
|
||
|
OnFoo -= value;
|
||
|
}
|
||
|
}
|
||
|
public static void Main () {
|
||
|
}
|
||
|
}
|
||
|
|