[mcs] C#7 out variable declaration
[mono.git] / mcs / errors / cs0737-2.cs
1 // CS0737: `MyTest' does not implement interface member `System.ICloneable.Clone()' and the best implementing candidate `MyTest.Clone()' is not public
2 // Line: 6
3
4 using System;
5
6 public class MyTest : ICloneable
7 {
8         object Clone()
9         {
10                 return MemberwiseClone();
11         }
12 }
13