2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs1570-11.cs
blob27b48420221e1b5f813bf45ea863ee9d11e17a94
1 // cs1570-11.cs: XML comment on `P:Testing.Test.PublicProperty2' has non-well-formed XML ('summary' is expected Line 3, position 4.)
2 // Line: 32
3 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror
5 using System;
7 namespace Testing
9 public class Test
11 public static void Main ()
15 /// <summary>
16 /// comment for public property
17 /// </summary>
18 public string PublicProperty {
19 /// <summary>
20 /// On public getter - no effect
21 /// </summary>
22 get { return null; }
23 /// <summary>
24 /// On public setter - no effect
25 /// </summary>
26 set { }
29 /// <summary>
30 /// incorrect comment for public property
31 /// </incorrect>
32 public string PublicProperty2 {
33 get { return null; }
36 /**
37 <summary>
38 Javadoc comment for public property
39 </summary>
41 public string PublicProperty3 {
42 /**
43 <summary>
44 On public getter - no effect
45 </summary>
47 get { return null; }
48 /**
49 <summary>
50 On public setter - no effect
51 </summary>
53 set { }