<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0115</ErrorName>
  <Examples>
    <string>// CS0115: `DerivedClass.get_Value()' is marked as an override but no suitable method found to override
// Line: 13

class BaseClass {
        protected virtual int Value { 
                get {
                        return 0;
                }
        }
}

class DerivedClass: BaseClass {
        protected override int get_Value () {
                return 1;
        }

	static void Main () {}
}
</string>
    <string>// CS0115: `X.this[int]' is marked as an override but no suitable indexer found to override
// Line: 5

class X {
	public override long this [int i] {
            set { }
	}
}
</string>
    <string>// CS0115: `C.P' is marked as an override but no accessible `set' accessor found to override
// Line: 11

abstract class B
{
	public virtual int P {
		get;
		private set;
	}
}

class C : B
{
	public override int P {
		get { return 5; }
		set { }
	}
}</string>
    <string>// CS0115: `B.Foo(ref int)' is marked as an override but no suitable method found to override
// Line: 13

class A
{
	public virtual void Foo (out int i)
	{
	}
}

class B : A
{
	public override void Foo (ref int i)
	{
	}
}
</string>
    <string>// CS0115: `B.MyMissingSuperclassEvent' is marked as an override but no suitable event found to override
// Line: 10

using System;

class A {
}

class B : A {
	public override event EventHandler MyMissingSuperclassEvent;
}</string>
    <string>// CS0115: `MyTestExtended.GetName()' is marked as an override but no suitable method found to override
// Line: 12
// Compiler options: -r:CS0534-4-lib.dll

using System;
public class MyTestExtended : MyTestAbstract
{
	public MyTestExtended() : base()
	{
	}

	protected override string GetName() { return "foo"; }
	public static void Main(string[] args)
	{
		Console.WriteLine("Calling PrintName");
		MyTestExtended test = new MyTestExtended();
		test.PrintName();
		Console.WriteLine("Out of PrintName");
	}
	
}
</string>
    <string>// CS0115: `X.Bla()' is marked as an override but no suitable method found to override
// Line: 5

class X {
	public override void Bla ()
	{
	}
}
</string>
  </Examples>
</ErrorDocumentation>