2009-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / cs0162-9.cs
blob2ca5cdff90e19c104e19ac6a5a5d4d4c799159b9
1 // CS0162: Unreachable code detected
2 // Line: 9
3 // Compiler options: -warnaserror -warn:2
5 class Error
7 void Test ()
9 if (1 == 0) {
10 try {
11 } catch (System.Net.Sockets.SocketException sex) {
12 int x = (int)sex.SocketErrorCode;