<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0506</ErrorName>
  <Examples>
    <string>// CS0506: `DerivedClass.Test': cannot override inherited member `BaseClass.Test' because it is not marked virtual, abstract or override
// Line: 11

using System;

class BaseClass {
        protected event EventHandler Test;
}

class DerivedClass: BaseClass {
        protected override event EventHandler Test;
}

</string>
    <string>// CS0506: `DerivedClass.Show()': cannot override inherited member `BaseClass.Show()' because it is not marked virtual, abstract or override
// Line: 9

class BaseClass {
        protected void Show () {}
}

class DerivedClass: BaseClass {
        protected override void Show () {}
}

</string>
    <string>// CS0506: `C.Run()': cannot override inherited member `A.Run()' because it is not marked virtual, abstract or override
// Line: 7
// Compiler options: -r:CS0506-3-lib.dll

public class C : B
{
	public override void Run ()
	{
	}
}
</string>
  </Examples>
</ErrorDocumentation>