summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0160.cs
blob: 582e9d71fc4122fdea507d5c87e80b63d496efaf (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0160: A previous catch clause already catches all exceptions of this or a super type `System.Exception'
// Line: 8

class ClassMain {
        public static void Main() {
                try { }
                catch (System.Exception) { }
                catch (System.ApplicationException) { }
        }
}