<?xml version="1.0" encoding="us-ascii"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS1570</ErrorName>
  <Examples>
    <string>// cs1570-10.cs: XML comment on `F:Testing.Test.PrivateField2' has non-well-formed XML ('summary' is expected  Line 3, position 4.)
// Line: 23
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror

using System;

namespace Testing
{
	public class Test
	{
		public static void Main ()
		{
		}

		/// &lt;summary&gt;
		/// comment for private field
		/// &lt;/summary&gt;
		private string PrivateField;

		/// &lt;summary&gt;
		/// incorrect markup comment for private field
		/// &lt;/incorrect&gt;
		private string PrivateField2;

		/**
		&lt;summary&gt;
		Javadoc comment for private field
		&lt;/summary&gt;
		*/
		private string PrivateField3;
	}
}

</string>
    <string>// cs1570-11.cs: XML comment on `P:Testing.Test.PublicProperty2' has non-well-formed XML ('summary' is expected  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 ()
		{
		}

		/// &lt;summary&gt;
		/// comment for public property
		/// &lt;/summary&gt;
		public string PublicProperty {
			/// &lt;summary&gt;
			/// On public getter - no effect
			/// &lt;/summary&gt;
			get { return null; }
			/// &lt;summary&gt;
			/// On public setter - no effect
			/// &lt;/summary&gt;
			set { }
		}

		/// &lt;summary&gt;
		/// incorrect comment for public property
		/// &lt;/incorrect&gt;
		public string PublicProperty2 {
			get { return null; }
		}

		/**
		&lt;summary&gt;
		Javadoc comment for public property
		&lt;/summary&gt;
		*/
		public string PublicProperty3 {
			/**
			&lt;summary&gt;
			On public getter - no effect
			&lt;/summary&gt;
			*/
			get { return null; }
			/**
			&lt;summary&gt;
			On public setter - no effect
			&lt;/summary&gt;
			*/
			set { }
		}
	}
}

</string>
    <string>// cs1570-2.cs: XML comment on `T:Testing.Test2' has non-well-formed XML ('summary' is expected  Line 3, position 4.)
// Line: 22
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror

using System;

namespace Testing
{
	/// &lt;summary&gt;
	/// comment on class
	/// &lt;/summary&gt;
	public class Test
	{
		public static void Main ()
		{
		}
	}

	/// &lt;summary&gt;
	/// Incorrect comment markup.
	/// &lt;/incorrect&gt;
	public class Test2
	{
	}

	/**
		&lt;summary&gt;
		another Java-style documentation style
		&lt;/summary&gt;
	*/
	public class Test3
	{
	}
}

</string>
    <string>// cs1570-3.cs: XML comment on `T:Testing.StructTest2' has non-well-formed XML ('summary' is expected  Line 3, position 4.)
// Line: 19
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror

using System;

namespace Testing
{
	/// &lt;summary&gt; 
	/// comment for struct
	/// &lt;/summary&gt;
	public struct StructTest
	{
	}

	/// &lt;summary&gt; 
	/// incorrect markup comment for struct
	/// &lt;/incorrect&gt;
	public struct StructTest2
	{
	}

	/**
		&lt;summary&gt;
		Java style commet
		&lt;/summary&gt;
	*/
	public struct StructTest3
	{
	}

	public class Test
	{
		public static void Main ()
		{
		}
	}
}

</string>
    <string>// cs1570-4.cs: XML comment on `T:Testing.InterfaceTest2' has non-well-formed XML ('summary' is expected  Line 3, position 4.)
// Line: 19
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror

using System;

namespace Testing
{
	/// &lt;summary&gt;
	/// comment for interface
	/// &lt;/summary&gt;
	public interface InterfaceTest
	{
	}

	/// &lt;summary&gt;
	/// incorrect markup comment for interface
	/// &lt;/incorrect&gt;
	public interface InterfaceTest2
	{
	}

	/**
		&lt;summary&gt;
		Java style comment for interface
		&lt;/summary&gt;
	*/
	public interface InterfaceTest3
	{
	}

	public class Test
	{
		public static void Main ()
		{
		}
	}
}

</string>
    <string>// cs1570-5.cs: XML comment on `T:Testing.EnumTest2' 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
{
	/// &lt;summary&gt;
	/// comment for enum type
	/// &lt;/incorrect&gt;
	enum EnumTest2
	{
		Foo,
		Bar,
	}
}

</string>
    <string>// 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
{
	/// &lt;summary&gt;
	/// comment for delegate type
	/// &lt;/summary&gt;
	public delegate void MyDelegate (object o, EventArgs e);

	/// &lt;summary&gt;
	/// comment for delegate type
	/// &lt;/incorrect&gt;
	public delegate void MyDelegate2 (object o, EventArgs e);

	/**
	&lt;summary&gt;
	Javadoc comment for delegate type
	&lt;/summary&gt;
	*/
	public delegate void MyDelegate3 (object o, EventArgs e);

	public class Test
	{
		public static void Main ()
		{
		}
	}
}

</string>
    <string>// cs1570-7.cs: XML comment on `T:Testing.Test2' has non-well-formed XML (a name did not start with a legal character 54 (6)  Line 1, position 3.)
// Line: 18
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror

using System;

namespace Testing
{
	/// comment without markup on class - it is allowed
	public class Test
	{
		public static void Main ()
		{
		}
	}

	/// &lt;6roken&gt; broken markup
	public class Test2
	{
	}

	/// &lt;dont-forget-close-tag&gt;
	public class Test3
	{
	}
}

</string>
    <string>// cs1570-8.cs: XML comment on `F:Testing.Test.Constant2' has non-well-formed XML ('summary' is expected  Line 3, position 4.)
// Line: 19
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror

using System;

namespace Testing
{
	public class Test
	{
		/// &lt;summary&gt;
		/// comment for const declaration
		/// &lt;/summary&gt;
		const string Constant = "CONSTANT STRING";

		/// &lt;summary&gt;
		/// invalid comment for const declaration
		/// &lt;/invalid&gt;
		const string Constant2 = "CONSTANT STRING";

		/**
		&lt;summary&gt;
		Javaism comment for const declaration
		&lt;/summary&gt;
		*/
		const string Constant3 = "CONSTANT STRING";

		public static void Main ()
		{
		}
	}
}

</string>
    <string>// cs1570-9.cs: XML comment on `F:Testing.Test.PublicField2' has non-well-formed XML ('summary' is expected  Line 3, position 4.)
// Line: 19
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror

using System;

namespace Testing
{
	public class Test
	{
		/// &lt;summary&gt;
		/// comment for public field
		/// &lt;/summary&gt;
		public string PublicField;

		/// &lt;summary&gt;
		/// comment for public field
		/// &lt;/invalid&gt;
		public string PublicField2;

		/**
		 &lt;summary&gt;
		 Javadoc comment for public field
		 &lt;/summary&gt;
		*/
		public string PublicField3;

		public static void Main ()
		{
		}
	}
}

</string>
    <string>// cs1570.cs: XML comment on `T:Testing.Test2' has non-well-formed XML ('summary' is expected  Line 3, position 4.)
// Line: 22
// Compiler options: -doc:dummy.xml -warnaserror -warn:1

using System;

namespace Testing
{
	/// &lt;summary&gt;
	/// comment on class
	/// &lt;/summary&gt;
	public class Test
	{
		public static void Main ()
		{
		}
	}

	/// &lt;summary&gt;
	/// Incorrect comment markup.
	/// &lt;/incorrect&gt;
	public class Test2
	{
	}

	/**
		&lt;summary&gt;
		another Java-style documentation style
		&lt;/summary&gt;
	*/
	public class Test3
	{
	}
}

</string>
  </Examples>
</ErrorDocumentation>