blob: 87ebabf94dfe82f70fcb0008ba3613ac30db3600 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// cs1570-6.cs: XML comment on `T:Testing.MyDelegate2' has non-well-formed XML (unmatched closing element: expected summary but found incorrect Line 3, position 12.)
// Line: 17
// 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 ()
{
}
}
}
|