2016-02-22 11:00:01 -05:00
// 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.)
2014-08-13 10:39:27 +01:00
// 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 { }
}
}
}