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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to