2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs1570-8.cs
blobc2e6205abe7aace5506edd71ab9be7755050d418
1 // cs1570-8.cs: XML comment on `F:Testing.Test.Constant2' has non-well-formed XML ('summary' is expected Line 3, position 4.)
2 // Line: 19
3 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror
5 using System;
7 namespace Testing
9 public class Test
11 /// <summary>
12 /// comment for const declaration
13 /// </summary>
14 const string Constant = "CONSTANT STRING";
16 /// <summary>
17 /// invalid comment for const declaration
18 /// </invalid>
19 const string Constant2 = "CONSTANT STRING";
21 /**
22 <summary>
23 Javaism comment for const declaration
24 </summary>
26 const string Constant3 = "CONSTANT STRING";
28 public static void Main ()