https://bugzilla.novell.com/show_bug.cgi?id=433806


           Summary: Warning about Page_Load when "/warn:4 /warnaserror" is
                    passed to gmcs
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


Created an attachment (id=244553)
 --> (https://bugzilla.novell.com/attachment.cgi?id=244553)
test case - webapp

Recipe:
=======
- extract test webapp
- request http://localhost:8080/index.aspx

Actual result: "CS0169: The private method `ASP.index_aspx.Page_Load(object,
System.EventArgs)' is never used"

Expected result: no error

No idea how .NET manages to suppress the never-used warning for Page_Load.
Going to investigate. This sure is a nice feature. Without it, one must always
compile .aspx pages including code with /warn:1.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to