Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs1973.cs
blob354e2a78c710f75fb73ff891364895c25f71d6cd
1 // 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
2 // Line: 13
4 static class C
6 public static void Foo (this string s, dynamic d)
10 static void Main()
12 dynamic d = null;
13 "x".Foo (d);