[Mono-bugs] [Bug 77704][Nor] New - Error that appears only when using classes with 1 letter name

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Mar 4 14:56:54 EST 2006

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 cornel.mihaila at gmail.com.


--- shadow/77704	2006-03-04 14:56:54.000000000 -0500
+++ shadow/77704.tmp.2881	2006-03-04 14:56:54.000000000 -0500
@@ -0,0 +1,49 @@
+Bug#: 77704
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: cornel.mihaila at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Error that appears only when using classes with 1 letter name
+Description of Problem:
+When using an aspx file which starts with:
+    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="bad.aspx.cs"
+Inherits="bad" %>
+    <%
+        A a = new A(); // the faulty line
+    %>
+where A is an empty class defined in the codebehind file, the xsp2 gives a
+compiler error complaining about the "faulty" line above.
+If a comment is introduced before this line (see good1.aspx), or the class
+name has more than 1 character (see good2.aspx), the error does not occur.
+Steps to reproduce the problem:
+1. extract files from attachement
+2. run xsp2 using extracted files (xsp2 --root . --port 8088 --applications
+3. load in browser: http://localhost:8088/bad.aspx
+Actual Results:
+compilation error (see results/bad.aspx.htm file for the full error message)
+Expected Results:
+no errors
+How often does this happen? 
+Additional Information:
+"http://localhost:8088/good1.aspx and good2.aspx" can be used to see the
+variations of the code that work.
+Mono- for windows has been used.

More information about the mono-bugs mailing list