summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0115-5.cs
blob: cbf8a0282944139110a48ccd10138d818ee8795b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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)
	{
	}
}