-// cs0111-12.cs: `Test.get_Value()' is already defined. Rename this member or use different 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; }
}