[Mono-bugs] [Bug 67155][Maj] New - Signature for System.Web.HttpUtility.UrlPathEncode does not match Microsoft .NET 1.1

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 29 Sep 2004 18:30:10 -0400 (EDT)

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 jeffret@bigfoot.com.


--- shadow/67155	2004-09-29 18:30:09.000000000 -0400
+++ shadow/67155.tmp.21284	2004-09-29 18:30:09.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 67155
+Product: Mono: Class Libraries
+Version: unspecified
+OS: Windows XP
+OS Details: 
+Status: NEW   
+Priority: Major
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jeffret@bigfoot.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Signature for System.Web.HttpUtility.UrlPathEncode does not match Microsoft .NET 1.1
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+The signature of System.Web.HttpUtility.UrlPathEncode() does not match the
+equivalent signature in Microsoft .NET 1.1. Specifically, in MS the method
+is static. In Mono, it is an instance method. I checked both the  Mono docs
+and the latest revision of the Mono source and both indicate the method
+lacks the static tag.
+I am currently investigating the possiblity of running our .NET application
+in Mono. I build the system in Visual Studio.NET. Then I am working through
+the NUnit tests using the Mono supplied nunit-console.
+Steps to reproduce the problem:
+I wrote a simple test:
+// Fixture and class setup
+public void TestUrlPathEncode()
+string url = "http://www.google.com";
+System.Web.HttpUtility.UrlPathEncode( url );
+Actual Results:
+When I run this in nunit-console I get a message, "WARNING **: Missing
+method UrlPathEncode in assembly . . ."
+Expected Results:
+The code should execute without any problem.
+How often does this happen?