[mcs] Add new test
[mono.git] / mcs / errors / cs1570-9.cs
index 46570d3a9b8c2b47d5cf5a41424259a608241cce..8f8f4c82a9c56c953b98252a551bf70494dbf633 100644 (file)
@@ -1,4 +1,4 @@
-// cs1570-9.cs: XML comment on `F:Testing.Test.PublicField2' has non-well-formed XML ('summary' is expected  Line 3, position 4.)
+// CS1570: XML documentation comment on `Testing.Test.PublicField2' is not well-formed XML markup (The 'summary' start tag on line 1 position 3 does not match the end tag of 'invalid'. Line 3, position 4.)
 // Line: 19
 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror
 
@@ -8,26 +8,10 @@ namespace Testing
 {
        public class Test
        {
-               /// <summary>
-               /// comment for public field
-               /// </summary>
-               public string PublicField;
-
                /// <summary>
                /// comment for public field
                /// </invalid>
                public string PublicField2;
-
-               /**
-                <summary>
-                Javadoc comment for public field
-                </summary>
-               */
-               public string PublicField3;
-
-               public static void Main ()
-               {
-               }
        }
 }