Jo Shields fe777c5c82 Imported Upstream version 3.8.0
Former-commit-id: 6a76a29bd07d86e57c6c8da45c65ed5447d38a61
2014-09-04 09:07:35 +01:00

24 lines
368 B
C#

// CS0070: The event `A.evt' can only appear on the left hand side of += or -= when used outside of the type `A'
// Line: 22
using System;
public static class EventExtensions
{
public static void Raise (this EventHandler h)
{
}
}
public class A
{
public event EventHandler evt;
}
public class B : A
{
public void Run()
{
Action a = () => evt.Raise ();
}
}