f3e3aab35a
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
58 lines
1.1 KiB
C#
58 lines
1.1 KiB
C#
// CS1570: XML documentation comment on `Testing.Test.PublicProperty2' is not well-formed XML markup (The 'summary' start tag on line 1 position 3 does not match the end tag of 'incorrect'. Line 3, position 4.)
|
|
// Line: 32
|
|
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror
|
|
|
|
using System;
|
|
|
|
namespace Testing
|
|
{
|
|
public class Test
|
|
{
|
|
public static void Main ()
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// comment for public property
|
|
/// </summary>
|
|
public string PublicProperty {
|
|
/// <summary>
|
|
/// On public getter - no effect
|
|
/// </summary>
|
|
get { return null; }
|
|
/// <summary>
|
|
/// On public setter - no effect
|
|
/// </summary>
|
|
set { }
|
|
}
|
|
|
|
/// <summary>
|
|
/// incorrect comment for public property
|
|
/// </incorrect>
|
|
public string PublicProperty2 {
|
|
get { return null; }
|
|
}
|
|
|
|
/**
|
|
<summary>
|
|
Javadoc comment for public property
|
|
</summary>
|
|
*/
|
|
public string PublicProperty3 {
|
|
/**
|
|
<summary>
|
|
On public getter - no effect
|
|
</summary>
|
|
*/
|
|
get { return null; }
|
|
/**
|
|
<summary>
|
|
On public setter - no effect
|
|
</summary>
|
|
*/
|
|
set { }
|
|
}
|
|
}
|
|
}
|
|
|