<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS1940</ErrorName>
  <Examples>
    <string>// CS1940: Ambiguous implementation of the query pattern `Select' for source type `string[]'
// Line: 11

using System;
using System.Collections.Generic;

class Multiple
{
	public static void Main ()
	{
		var q = from x in new [] { "a", "b", "c" } select x;
	}
}

static class Y
{
	public static IEnumerable&lt;TResult&gt; Select&lt;TSource, TResult&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, TResult&gt; selector)
	{
		return null;
	}
}

static class X
{
	public static IEnumerable&lt;TResult&gt; Select&lt;TSource, TResult&gt;(this IEnumerable&lt;TSource&gt; source, Func&lt;TSource, TResult&gt; selector)
	{
		return null;
	}
}</string>
    <string>// CS1940: Ambiguous implementation of the query pattern `Select' for source type `Multiple'
// Line: 10

class Multiple
{
	delegate int D1 (int x);
	delegate int D2 (int x);

	int Select (D1 d)
	{
		return 0;
	}

	int Select (D2 d)
	{
		return 1;
	}

	public static void Main ()
	{
		var q = from x in new Multiple () select x;
	}
}
</string>
  </Examples>
</ErrorDocumentation>