[bcl] Remove more NET_2_0 checks from class libs
[mono.git] / mcs / class / System.Web / Test / System.Web / HttpClientCertificateTest.cs
index 56e5d3ec87f0361606f78925d407a3f4f47dd2e2..e675c954e802a6f498654df69aa71eb6d05a5325 100644 (file)
@@ -241,11 +241,7 @@ namespace MonoTests.System.Web {
                }
 
                [Test]
-#if NET_2_0
                [ExpectedException (typeof (NullReferenceException))]
-#else
-               [ExpectedException (typeof (ArgumentNullException))]
-#endif
                public void HttpRequestPublicCtor ()
                {
                        HttpRequest hr = new HttpRequest ("file", "http://www.mono-project.com/", "");