summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0737.cs
blob: bcbe0334a93912cc19880f6464fa59382e6e0f69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS0737: `MySubClass' does not implement interface member `System.ICloneable.Clone()' and the best implementing candidate `MyTest.Clone()' is not public
// Line: 6

using System;

public class MySubClass : MyTest, ICloneable
{
}

public class MyTest
{
	internal object Clone ()
	{
		return MemberwiseClone ();
	}
}