Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

16 lines
375 B
C#

// CS1973: Type `string' does not contain a member `Foo' and the best extension method overload `C.Foo(this string, dynamic)' cannot be dynamically dispatched. Consider calling the method without the extension method syntax
// Line: 13
static class C
{
public static void Foo (this string s, dynamic d)
{
}
static void Main()
{
dynamic d = null;
"x".Foo (d);
}
}