[Mono-bugs] [Bug 76165][Maj] Changed - XSP
System.Runtime.Serialization.SerializationException using
ASP.NET with VB-code as codebehind.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Sep 24 13:46:29 EDT 2005
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 jan.bouwhuis at solcon.nl.
http://bugzilla.ximian.com/show_bug.cgi?id=76165
--- shadow/76165 2005-09-23 15:47:17.000000000 -0400
+++ shadow/76165.tmp.1053 2005-09-24 13:46:29.000000000 -0400
@@ -241,6 +241,25 @@
---------------------------------------------------------------------
-----------
+
+------- Additional Comments From jan.bouwhuis at solcon.nl 2005-09-24 13:46 -------
+When parsing the ASP.NET code, some code needs to be injected:
+
+Line 34: Public Sub New()
+Line 35: MyBase.New
+Line 36: If ((ASP.Global_asax.__intialized = false)) Then
+Line 37: ASP.Global_asax.__intialized = true
+Line 38: End If
+Line 39: End Sub
+
+MBAS seems not to be able to deal with MyBase.New
+If the code would include brackets like: MyBase.New()
+MBAS would parse the code correctly.
+
+2 possible solutions:
+1) Inject MyBase.New() instead of MyBase.New
+2) Enable MBAS to parse a Sub or Function without brackets if they
+have no parameters.
More information about the mono-bugs
mailing list