﻿<?xml version="1.0" encoding="utf-8"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0115</ErrorName>
  <Examples>
    <string>// cs0115.cs: `X.this[int]': no suitable method found to override
// Line: 5

class X {
	public override long this [int i] {
            set { }
	}
}
</string>
    <string>// cs0115-3.cs: `MyTestExtended.GetName()': 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-4.cs: `DerivedClass.get_Value()': 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.cs: `X.Bla()': no suitable method found to override
// Line: 9

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