summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0238.cs
blob: 88ab78374bcab3498c29891f16544002507ef43b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0238: `DerivedClass.Show()' cannot be sealed because it is not an override
// Line: 10

class BaseClass {
        void Show() {}
}

class DerivedClass: BaseClass {
        sealed void Show() {}
            
        static void Main() {}
}