21 lines
331 B
C#
21 lines
331 B
C#
|
// CS0079: The event `Foo.BaseFoo.Changed' can only appear on the left hand side of `+=' or `-=' operator
|
||
|
// Line: 16
|
||
|
|
||
|
using System;
|
||
|
|
||
|
namespace Foo
|
||
|
{
|
||
|
public delegate void VoidHandler ();
|
||
|
|
||
|
public abstract class BaseFoo
|
||
|
{
|
||
|
public abstract event VoidHandler Changed;
|
||
|
|
||
|
public string Name {
|
||
|
set {
|
||
|
Changed ();
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|