Merge pull request #3997 from lateralusX/jlorenss/win-api-family-support-safearray
[mono.git] / mcs / errors / cs1973.cs
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
3
4 static class C
5 {
6         public static void Foo (this string s, dynamic d)
7         {
8         }
9
10         static void Main()
11         {
12                 dynamic d = null;
13                 "x".Foo (d);
14         }
15 }