<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS1570</ErrorName>
  <Examples>
    <string>// CS1570: XML documentation comment on `Testing.StructTest2' is not well-formed XML markup (The 'summary' start tag on line 1 position 2 does not match the end tag of 'incorrect'. Line 3, position 3.)
// Line: 10
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror

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

</string>
    <string>// CS1570: XML documentation comment on `Test' is not well-formed XML markup (Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 3, position 4.)
// Line: 13
// Compiler options: -doc:dummy.xml -warnaserror -warn:1

/// Text goes here.
///
/// &lt;?xml version = "1.0" encoding = "utf-8" ?&gt;
/// &lt;configuration&gt;
///     &lt;appSettings&gt;
///         &lt;add key = "blah" value = "blech"/&gt;
///     &lt;/appSettings&gt;
/// &lt;/configuration&gt; 
public class Test
{    
    static void Main ()
    {
    }
}

</string>
    <string>// CS1570: XML documentation comment on `Testing.Test2' 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: 12
// Compiler options: -doc:dummy.xml -warnaserror -warn:1

using System;

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

</string>
    <string>// CS1570: XML documentation comment on `Testing.Test.Constant2' is not well-formed XML markup (The 'summary' start tag on line 1 position 3 does not match the end tag of 'invalid'. Line 3, position 4.)
// Line: 19
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror

using System;

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

</string>
    <string>// CS1570: XML documentation comment on `Testing.Test2' is not well-formed XML markup (Name cannot begin with the '6' character, hexadecimal value 0x36. Line 1, position 3.)
// Line: 9
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror

using System;

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

</string>
    <string>// CS1570: XML documentation comment on `Testing.Test.PrivateField2' 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: 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: XML documentation comment on `Testing.Test.PublicField2' is not well-formed XML markup (The 'summary' start tag on line 1 position 3 does not match the end tag of 'invalid'. 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;/invalid&gt;
		public string PublicField2;
	}
}

</string>
    <string>// CS1570: XML documentation comment on `Testing.EnumTest2' is not well-formed XML markup (The 'summary' start tag on line 1 position 2 does not match the end tag of 'incorrect'. Line 3, position 3.)
// Line: 12
// 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: XML documentation comment on `Testing.Test2' is not well-formed XML markup (The 'summary' start tag on line 1 position 2 does not match the end tag of 'incorrect'. Line 3, position 3.)
// Line: 12
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror

using System;

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

</string>
    <string>// 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 ()
		{
		}

		/// &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: XML documentation comment on `Testing.MyDelegate2' 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: 12
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror

using System;

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

</string>
    <string>// CS1570: XML documentation comment on `Testing.InterfaceTest2' is not well-formed XML markup (The 'summary' start tag on line 1 position 2 does not match the end tag of 'incorrect'. Line 3, position 3.)
// Line: 12
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror

using System;

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

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