Merge pull request #4615 from alexanderkyte/string_error_handling
[mono.git] / mcs / errors / cs1929.cs
1 // CS1929: Type `int' does not contain a member `Check' and the best extension method overload `C.Check(this string)' requires an instance of type `string'
2 // Line: 12
3
4 static class C
5 {
6         public static void Check (this string s)
7         {
8         }
9
10         static void Main ()
11         {
12                 1.Check ();
13         }
14 }