// 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> arg) { foreach (KeyValuePair o in arg) { o.Value.Foo (); } } }