-// cs1570-8.cs: XML comment on `F:Testing.Test.Constant2' has non-well-formed XML ('summary' is expected Line 3, position 4.)
+// CS1570: XML documentation comment on `Testing.Test.Constant2' 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
{
public class Test
{
- /// <summary>
- /// comment for const declaration
- /// </summary>
- const string Constant = "CONSTANT STRING";
-
/// <summary>
/// invalid comment for const declaration
/// </invalid>
const string Constant2 = "CONSTANT STRING";
-
- /**
- <summary>
- Javaism comment for const declaration
- </summary>
- */
- const string Constant3 = "CONSTANT STRING";
-
- public static void Main ()
- {
- }
}
}