blob: 354e2a78c710f75fb73ff891364895c25f71d6cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// 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);
}
}
|