<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0665</ErrorName>
  <Examples>
    <string>// Cs0665: Assignment in conditional expression is always constant. Did you mean to use `==' instead ?
// Line: 10
// Compiler options: /warnaserror

class Test
{
	public bool Foo (bool x)
	{
		bool b;
		return (b = true) ? true : b;
	}
}

</string>
    <string>// CS0665: Assignment in conditional expression is always constant. Did you mean to use `==' instead ?
// Line: 10
// Compiler options: /warnaserror

class Test
{
	public void Foo (bool x)
	{
		bool b;
		if (b = true)
			System.Console.WriteLine (b);
	}
}

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