-// cs1570-6.cs: XML comment on `T:Testing.MyDelegate2' has non-well-formed XML ('summary' is expected Line 3, position 4.)
-// Line: 17
+// CS1570: XML documentation comment on `Testing.MyDelegate2' is not well-formed XML markup (The 'summary' start tag on line 1 position 3 does not match the end tag of 'incorrect'. Line 3, position 4.)
+// Line: 12
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror
using System;
namespace Testing
{
- /// <summary>
- /// comment for delegate type
- /// </summary>
- public delegate void MyDelegate (object o, EventArgs e);
-
/// <summary>
/// comment for delegate type
/// </incorrect>
public delegate void MyDelegate2 (object o, EventArgs e);
-
- /**
- <summary>
- Javadoc comment for delegate type
- </summary>
- */
- public delegate void MyDelegate3 (object o, EventArgs e);
-
- public class Test
- {
- public static void Main ()
- {
- }
- }
}