1 2 3 4 5 6 7 8 9
// CS1105: `S.Foo(this int?)': Extension methods must be declared static // Line: 6 static class S { void Foo (this int? s) { } }