<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS1061</ErrorName>
  <Examples>
    <string>// CS1061: Type `int' does not contain a definition for `C' and no extension method `C' of type `int' could be found. Are you missing an assembly reference?
// Line: 12

using System;

namespace TestEnum
{
	public enum E
	{
		A = 0,
		B = 1.
		C = 2
	}
}
</string>
    <string>// CS1061: Type `object' does not contain a definition for `Foo' and no extension method `Foo' of type `object' could be found. Are you missing an assembly reference?
// Line: 12

using System.Collections.Generic;

public class C
{
	void M (IEnumerable&lt;KeyValuePair&lt;string, dynamic&gt;&gt; arg)
	{
		foreach (KeyValuePair&lt;string, object&gt; o in arg)
		{
			o.Value.Foo ();
		}
	}
}
</string>
    <string>// CS1061: Type `U2' does not contain a definition for `Test' and no extension method `Test' of type `U2' could be found. Are you missing an assembly reference?
// Line: 20

interface I&lt;T&gt;
{
	void Foo&lt;U&gt; (U u) where U : T;
}

struct S
{
	public void Test ()
	{
	}
}

class Test : I&lt;S&gt;
{
	void I&lt;S&gt;.Foo&lt;U2&gt; (U2 u2)
	{
		u2.Test ();
	}
}
</string>
    <string>// CS1061: Type `string' does not contain a definition for `Where' and no extension method `Where' of type `string' could be found. Are you missing `System.Linq' using directive?
// Line: 8

public class M
{
	public static void Main ()
	{
		var a = "ababab".Where (l =&gt; l == 'b');
	}
}</string>
    <string>// CS1061: Type `string' does not contain a definition for `Name' and no extension method `Name' of type `string' could be found. Are you missing an assembly reference?
// Line: 18

using System;

static class X
{
	public static void Main ()
	{
	}

	static void Foo ()
	{
		var fileName = "";
		string[] all = null;

		all.Each (x =&gt; {
			var name = fileName.Name;
		});
	}

	static void Each&lt;T&gt; (this T[] s, Action&lt;T&gt; a)
	{
	}
}
</string>
    <string>// CS1061: Type `int' does not contain a definition for `GetValueOrDefault' and no extension method `GetValueOrDefault' of type `int' could be found. Are you missing an assembly reference?
// Line: 9

class C
{
	static void Main ()
	{
		int? i = 4;
		var m = i?.GetValueOrDefault ();
	}
}</string>
    <string>// CS1061: Type `int' does not contain a definition for `Foo' and no extension method `Foo' of type `int' could be found. Are you missing an assembly reference?
// Line: 11

using System;

static class C
{
	static void Main ()
	{
		int i = 1;
		Action a = i.Foo;
	}

	static void Foo (this string s)
	{
	}
}</string>
    <string>// CS1061: Type `A' does not contain a definition for `Foo' and no extension method `Foo' of type `A' could be found. Are you missing an assembly reference?
// Line: 17

using System;
using System.Runtime.CompilerServices;

class A
{
	[IndexerName ("Foo")]
	public int this [int index] {
		get { return index; }
		set { ; }
	}

	static void Test (A a, int value)
	{
		a.Foo = value;
	}

	public static void Main ()
	{
		Test (new A (), 9);
	}
}
</string>
    <string>// CS1061: Type `object' does not contain a definition for `Test' and no extension method `Test' of type `object' could be found. Are you missing an assembly reference?
// Line: 17

public class S
{
	public static void Test()
	{
	}
}

public class M
{
	public object S { get; set; }

	public void Main ()
	{
		S.Test ();
	}
}
</string>
    <string>// CS1061: Type `X' does not contain a definition for `Test' and no extension method `Test' of type `X' could be found. Are you missing an assembly reference?
// Line: 12

class A&lt;X&gt;
{
	//
	// This is to test the lookup rules for SimpleNames:
	// `X' is the type parameter, not the class.
	//
	public void Test (X x)
	{
		x.Test ();
	}
}

class X
{
	public void Test ()
	{ }

	public static void Main ()
	{ }
}
</string>
    <string>// CS1061: Type `int' does not contain a definition for `Value' and no extension method `Value' of type `int' could be found. Are you missing an assembly reference?
// Line: 24

using System;
using System.Collections.Generic;
using System.Linq;

namespace Test
{
	static class Ex
	{
		public static IEnumerable&lt;TR&gt; Foo&lt;T, TR&gt; (this IEnumerable&lt;T&gt; t, Func&lt;T, TR&gt; f)
		{
			return null;
		}
	}

	public class C
	{
		public static void Main ()
		{
			int[] i = null;
			int p;
            var prods = from pe in i.Foo (p9 =&gt; p.Value) select pe;
		}
	}
}
</string>
    <string>// CS1061: Type `T' does not contain a definition for `Name' and no extension method `Name' of type `T' could be found. Are you missing an assembly reference?
// Line: 11

using System;
using System.Collections.Generic;

public class C&lt;T, U&gt;
{
	public C (IEnumerable&lt;T&gt; t)
	{
		new List&lt;T&gt;(t).ConvertAll(p =&gt; p.Name);
	}
}
</string>
    <string>// CS1061: Type `int' does not contain a definition for `Foo' and no extension method `Foo' of type `int' could be found. Are you missing an assembly reference?
// Line: 9


public class M
{
	public static void Main ()
	{
		1.Foo ("foo");
	}
}
</string>
    <string>// CS1061: Type `string' does not contain a definition for `Length2' and no extension method `Length2' of type `string' could be found. Are you missing an assembly reference?
// Line: 12


using System.Linq;

public class M
{
	public static void Main ()
	{
		var e = from values in new [] { "value" }
			let length = values.Length2
			select length;
	}
}
</string>
    <string>// CS1061: Type `int' does not contain a definition for `E' and no extension method `E' of type `int' could be found. Are you missing an assembly reference?
// Line: 7

class T {
	public static int Main (string [] args )
	{
		int x = 1.E;
		return 0;
	}
}
</string>
    <string>// CS1061: Type `A' does not contain a definition for `Foo' and no extension method `Foo' of type `A' could be found. Are you missing an assembly reference?
// Line: 16

using System;
using System.Runtime.CompilerServices;

class A
{
	[IndexerName ("Foo")]
	public int this [int index] {
		get { return index; }
	}

	static int Test (A a)
	{
		return a.Foo;
	}

	public static void Main ()
	{
		Test (new A ());
	}
}
</string>
  </Examples>
</ErrorDocumentation>