merge -r 61110:61111
[mono.git] / mcs / errors / cs1570-8.cs
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
4
5 using System;
6
7 namespace Testing
8 {
9         public class Test
10         {
11                 /// <summary>
12                 /// comment for const declaration
13                 /// </summary>
14                 const string Constant = "CONSTANT STRING";
15
16                 /// <summary>
17                 /// invalid comment for const declaration
18                 /// </invalid>
19                 const string Constant2 = "CONSTANT STRING";
20
21                 /**
22                 <summary>
23                 Javaism comment for const declaration
24                 </summary>
25                 */
26                 const string Constant3 = "CONSTANT STRING";
27
28                 public static void Main ()
29                 {
30                 }
31         }
32 }
33