[mono-vb] Detection of the correct overloaded sub

A Rafael D Teixeira rafaelteixeirabr@hotmail.com
Wed, 03 Mar 2004 13:08:08 -0300

Please Jochen, open a bugzilla for this...


Rafael "Monoman" Teixeira
Mono Hacker since 16 Jul 2001 - http://www.go-mono.org/
MonoBrasil Founding Member - Membro Fundador do MonoBrasil 
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/

>From: "Jochen Wezel" <jwezel@compumaster.de>
>To: <mono-vb@lists.ximian.com>
>Subject: [mono-vb] Detection of the correct overloaded sub
>Date: Tue, 2 Mar 2004 18:29:24 +0100
>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:
>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 

MSN Messenger: instale grátis e converse com seus amigos.