X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Ftest-ex-filter-01.cs;h=c01c35c8fd86c468ff7fb4d93397a9099f9c0714;hb=ea8f09a1d5eb7d700c5ff95e71c4d651d8564fa6;hp=125df606019536e6f5ceb8631d3f5c7cb4da3c23;hpb=96edd46e16619fe64e26ea017330c22bf893f0dd;p=mono.git diff --git a/mcs/tests/test-ex-filter-01.cs b/mcs/tests/test-ex-filter-01.cs index 125df606019..c01c35c8fd8 100644 --- a/mcs/tests/test-ex-filter-01.cs +++ b/mcs/tests/test-ex-filter-01.cs @@ -7,7 +7,7 @@ class X int x = 4; try { throw null; - } catch (NullReferenceException) if (x > 0) { + } catch (NullReferenceException) when (x > 0) { Console.WriteLine ("catch"); return 0; }