<?xml version="1.0" encoding="us-ascii"?>
<ErrorDocumentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ErrorName>CS1942</ErrorName>
  <Examples>
    <string>// CS1942: An expression type in `select' clause is incorrect. Type inference failed in the call to `Select'
// Line: 18

using System;

class TestA
{
	public string Select&lt;U&gt; (Func&lt;TestA, U&gt; f)
	{
		return "";
	}
}

public class C
{
	static void Main ()
	{
		string foo = from a in new TestA () select null;
	}
}
</string>
    <string>// CS1942: An expression type in `select' clause is incorrect. Type inference failed in the call to `Select'
// Line: 12

using System;
using System.Linq;

class C
{
	public static void Main ()
	{
		var e = from values in "abcd"
			select null;
	}
}
</string>
  </Examples>
</ErrorDocumentation>