<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0070</ErrorName>
  <Examples>
    <string>// CS0070: The event `Button.Click' can only appear on the left hand side of += or -= when used outside of the type `Button'
// Line: 20

using System;

public delegate void EventHandler (int i, int j);

public class Button {

	public event EventHandler Click;

}

public class Blah {

	Button Button1 = new Button ();

	public void Connect ()
	{
		Button1.Click = new EventHandler (Button1_Click);
	}

	public void Button1_Click (int i, int j)
	{
	}
	
	public static void Main ()
	{
	}
}
</string>
    <string>// 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 = () =&gt; evt.Raise ();
	}
}</string>
  </Examples>
</ErrorDocumentation>