[Mono-bugs] [Bug 649383] New: Auto-generated UIViewController 'view' property conflicts with the View property for type-insensitive languages

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 26 14:55:33 EDT 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=649383#c0


           Summary: Auto-generated UIViewController 'view' property
                    conflicts with the View property for type-insensitive
                    languages
    Classification: Mono
           Product: MonoTouch
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Tools
        AssignedTo: gnorton at novell.com
        ReportedBy: bl at remobjects.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.11)
Gecko/20101012 Firefox/3.6.11 ( .NET CLR 3.5.30729; .NET4.0E)

In C#, you can use MyController.View from anywhere, including inside the
MyController class, because C# sees it as different from the 'view' in the
designer.cs. The problem is that, even in C#, the private 'view' property is
null - so for case-insensitive languages like Oxygene, having a local private
property that's null with effectively the same name as the public one makes
things difficult. We have to put in "(inherited View)" instead of just "View"
everywhere inside our ViewController classes. 

Would it be possible to have the xib codegen _not_ generate the 'view'
property? Since it's always null, it would seem to not be necessary. 

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

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