[Mono-bugs] [Bug 338242] generated class files declare possibly conflicting protected members

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 31 19:09:35 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=338242#c8





--- Comment #8 from Jerome Haltom <wasabi at larvalstage.net>  2007-10-31 17:09:34 MST ---
You know, I'm not really sure what the proper fix for this is. The test case
does work in MS .Net, though.

ApplicationInstance seems to be inserted into the partial class for CodeFile
projects, in MS.Net. And so, in the CodeFile model, a user cannot declare it
himself. However, in the CodeBehind model, it is not inserted into the partial
class, and is instead not accessible to the code behind. I do not know what
goes into the autogenerated class in this case, either way, whatever goes
there, it does not conflict with members the user exposes. I suspect MS.Net
does not insert ApplicationInstance or Profile into the auto generated class at
all. I'm not sure if I'm allowed to go check to verify this. =)


-- 
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