Fix invalid test constraint
[mono.git] / mcs / errors / gcs1105.cs
1 // CS1105: `S.Foo(this int?)': Extension methods must be declared static
2 // Line: 6
3
4
5 static class S
6 {
7         void Foo (this int? s)
8         {
9         }
10 }