Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80944 --- shadow/80944 2007-02-23 06:48:54.000000000 -0500 +++ shadow/80944.tmp.32161 2007-02-23 06:48:54.000000000 -0500 @@ -0,0 +1,47 @@ +Bug#: 80944 +Product: Mono: Class Libraries +Version: 1.2 +OS: GNU/Linux [Other] +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: System +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: HttpWebRequest.Proxy can't be nulled + +Description of Problem: +It should be possible to set HttpWebRequest.Proxy explicitly to null + +Steps to reproduce the problem: +1. Compile and run the following: + +using System; +using System.Net; +class X{static void Main(){ +HttpWebRequest r = (HttpWebRequest) WebRequest.CreateDefault(new +Uri("http://127.0.0.1:5555/")); +r.Proxy = null; +}} + +Actual Results: +Unhandled Exception: System.ArgumentNullException: Argument cannot be null. +Parameter name: value + at System.Net.HttpWebRequest.set_Proxy (IWebProxy value) [0x00000] + at X.Main () [0x00000] + +Expected Results: +a silent success + +How often does this happen? +100% + +Additional Information: +mono 1.2.2.1 +MS Framework permits such explicit nulling. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
