Fix invalid test constraint
[mono.git] / mcs / errors / gcs1110.cs
1 // CS1110: `C.Foo(this string)': Extension methods cannot be declared without a reference to System.Core.dll assembly. Add the assembly reference or remove `this' modifer from the first parameter
2 // Line: 7
3 // Compiler options: -noconfig
4
5 static class C
6 {
7         static void Foo (this string s)
8         {
9         }
10 }