[Mono-bugs] [Bug 55149][Maj] New - Detection of the correct overloaded sub

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 4 Mar 2004 03:20:55 -0500 (EST)

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 jwezel@compumaster.de.


--- shadow/55149	2004-03-04 03:20:55.000000000 -0500
+++ shadow/55149.tmp.17323	2004-03-04 03:20:55.000000000 -0500
@@ -0,0 +1,73 @@
+Bug#: 55149
+Product: Mono/Compilers
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Priority: Major
+Component: Basic
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jwezel@compumaster.de               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Detection of the correct overloaded sub
+I've done some tests with out current version of mbas, jay, xsp. We're 
+getting close :) 
+Currently, the generated code of my sample aspx page contains that line: 
+ __output.Write(""&Microsoft.VisualBasic.Strings.ChrW(10)
+This results in following error (I've added the output of the value in the 
+exception message for debugging purposes). It seem for me to be a problem 
+of the correct detection, which of the overloaded methods should be used: 
+__output then tries to use that one with parameter type Int32 and tries to 
+convert the parameter (the string) to an Int32 which must fail…
+Server error in '/' application 
+Description: Error processing request. 
+Error Message: HTTP 500. 
+Stack Trace: 
+System.Exception: Value= 
+ ---> System.FormatException: Invalid format 
+in <0x002b4> System.Int32:Parse (string) 
+in <0x0001a> Microsoft.VisualBasic.CompilerServices.IntegerType:FromString 
+--- End of inner exception stack trace --- 
+in <0x00073> Microsoft.VisualBasic.CompilerServices.IntegerType:FromString 
+in <0x00158> ASP.index_aspx:__RenderTree 
+in <0x0005a> (wrapper delegate-invoke) 
+in <0x00052> System.Web.UI.Control:RenderChildren 
+in <0x00011> System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter) 
+in <0x0001c> System.Web.UI.Control:RenderControl 
+in <0x0041f> System.Web.UI.Page:InternalProcessRequest () 
+in <0x0008d> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext) 
+in <0x00186> ExecuteHandlerState:Execute () 
+in <0x0007e> StateMachine:ExecuteState 
+How often does this happen?