[mcs] Add new test
[mono.git] / mcs / errors / cs1570-9.cs
index 8b070d729d9eec4d6420bde4414ddbd4d6569cb5..8f8f4c82a9c56c953b98252a551bf70494dbf633 100644 (file)
@@ -1,30 +1,17 @@
+// 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
+
 using System;
 
 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 ()
-               {
-               }
        }
 }