Merge pull request #5082 from kumpera/fix-ro-fs-file-delete
[mono.git] / mcs / errors / cs1109.cs
1 // CS1109: `C.S.Foo(this string)': Extension methods cannot be defined in a nested class
2 // Line: 8
3
4
5 class C
6 {
7         static class S
8         {
9                 static void Foo (this string s)
10                 {
11                 }
12         }
13 }