[Mono-bugs] [Bug 74670][Maj] Changed - Compilation errors with EndIf and Parentheses

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Sep 10 13:15:26 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 jwezel at compumaster.de.

http://bugzilla.ximian.com/show_bug.cgi?id=74670

--- shadow/74670	2005-08-05 06:25:57.000000000 -0400
+++ shadow/74670.tmp.8797	2005-09-10 13:15:26.000000000 -0400
@@ -188,6 +188,55 @@
 
 
 ------- Additional Comments From jwezel at compumaster.de  2005-08-05 06:25 -------
 Created an attachment (id=15540)
 EndIfBug.vb
 
+
+------- Additional Comments From jwezel at compumaster.de  2005-09-10 13:15 -------
+The error happens somewhere here, I think:
+----SNIP----
+         Public Sub New()
+            MyBase.New
+             If ((ASP.access_error_aspx.__intialized = false)) Then
+                ASP.access_error_aspx.__intialized = true
+            End If
+         End Sub
+----SNIP----
+
+Please note: the property overload is possible successfully with 
+either two versions as I've tested with VBC.EXE:
+
+1. version
+----SNIP----
+         Protected Overrides Property AutoHandlers As Integer
+             Get
+                Return ASP.access_error_aspx.__autoHandlers
+            End Get
+             Set
+               ASP.access_error_aspx.__autoHandlers = Value
+             End Set
+         End Property
+----SNIP----
+
+2. version
+----SNIP----
+         Protected Overrides Property AutoHandlers As Integer
+             Get
+                Return ASP.access_error_aspx.__autoHandlers
+            End Get
+             Set (value as integer)
+               ASP.access_error_aspx.__autoHandlers = Value
+             End Set
+         End Property
+----SNIP----
+
+Please note the difference between the line
+    Set
+and the line
+    Set (value as integer)
+
+But okay, this is only for your additional knowledge; maybe the EndIf-
+bug is related to some special syntaxes around that If-statement...
+
+
+


More information about the mono-bugs mailing list