codeowners update
[mono.git] / mcs / errors / cs0111-12.cs
index 2b2a1b71da221b33daef0750e09e3c0e8b43ad53..dd48150bef861a9c8fed50260a5acc60e0ea7389 100644 (file)
@@ -1,10 +1,16 @@
-// cs111.cs : Class 'Test' already defines a member called 'get_Value' with the same parameter types
-// Line : 6
+// CS0111: A member `S3.S3(string)' is already defined. Rename this member or use different parameter types
+// Line: 6
+// Compiler options: -langversion:experimental
 
-public class Test
+struct S3 (string s)
 {
-       public string Value {
-               set { }
+       public S3 (string s)
+               : this (1)
+       {
+       }
+
+       public S3 (int i)
+               : this ("")
+       {
        }
-       public string get_Value () { return null; }
 }