﻿<?xml version="1.0" encoding="utf-8"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS1574</ErrorName>
  <Examples>
    <string>// cs1574-2.cs: XML comment on `Test' has cref attribute `Method(System.String)' that could not be resolved
// Line: 8
// Compiler options: -doc:dummy.xml -warnaserror -warn:1

using System;

/// &lt;seealso cref="Method(System.String)"/&gt;
public class Test
{
}

</string>
    <string>// cs1574-3.cs: XML comment on `Test' has cref attribute `Test.Foo(int)' that could not be resolved
// Line: 8
// Compiler options: -doc:dummy.xml -warnaserror -warn:1

using System;

/// &lt;see cref="Test.Foo(int)"/&gt; Test has Foo, but is property that has no args.
public class Test
{
	string Foo {
		get { return null; }
	}
}
</string>
    <string>// cs1574-4.cs: XML comment on `Test' has cref attribute `System.Xml.XmlDocument' that could not be resolved
// Line: 9
// Compiler options: -doc:dummy.xml -warnaserror -noconfig

using System;

/// &lt;seealso cref="System.Xml.XmlDocument"/&gt;
/// with /noconfig, it cannot be resolved.
public class Test
{
}
</string>
    <string>// cs1574-5.cs: XML comment on `Test' has cref attribute `Goo' that could not be resolved
// Line: 8
// Compiler options: -doc:dummy.xml -warnaserror -warn:1

using System;

/// &lt;see cref="Goo"/&gt; ... does not exist
public class Test
{
	string Foo {
		get { return null; }
	}
}

class X
{
	static void Main ()
	{ }
}
</string>
    <string>// cs1574-6.cs: XML comment on `Test' has cref attribute `MyDelegate(int)' that could not be resolved
// Line: 8
// Compiler options: -doc:dummy.xml -warnaserror -warn:1

/// &lt;summary&gt;
/// &lt;see cref="MyDelegate(int)" /&gt;
/// &lt;/summary&gt;
public class Test {
        /// &lt;summary&gt;
        /// whatever
        /// &lt;/summary&gt;
        public delegate void MyDelegate(int i);
}

</string>
    <string>// cs1574.cs: XML comment on `Test' has cref attribute `explicit operator int (bool)' that could not be resolved
// Line: 7
// Compiler options: -doc:dummy.xml -warnaserror -warn:1

using System;
/// &lt;seealso cref="explicit operator int (bool)"/&gt;
public class Test
{
}
</string>
  </Examples>
</ErrorDocumentation>