summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1061-11.cs
blob: b795b50c208e339819326072b9be4443b9003e0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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<KeyValuePair<string, dynamic>> arg)
	{
		foreach (KeyValuePair<string, object> o in arg)
		{
			o.Value.Foo ();
		}
	}
}