[Mono-bugs] [Bug 433806] New: Warning about Page_Load when "/warn:4 /warnaserror" is passed to gmcs
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Oct 9 06:23:29 EDT 2008
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: mhabersack at novell.com
ReportedBy: juraj at hotfeet.ch
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list