blob: face0f59783446d3bb9e32a5ac6181ebbbd08bb2 (
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 ('summary' is expected Line 3, position 4.)
// 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 ()
{
}
}
}
|