Bug 7287 - Auto complete does not work for inner class to access outer class' fields
Summary: Auto complete does not work for inner class to access outer class' fields
Status: RESOLVED FEATURE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 3.0.x
Hardware: Other Other
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2012-09-18 23:47 UTC by Imgen Tata
Modified: 2012-10-25 00:48 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FEATURE

Description Imgen Tata 2012-09-18 23:47:52 UTC
Description of Problem:
As titled

Steps to reproduce the problem:
1. Create a inner class and declare a few private fields in the outer class


Actual Results:
When typing, the intellisense does not offer those fields of outer class


Expected Results:
the intellisense does offer those fields of outer class


How often does this happen? 
Always

Additional Information:
I'm using MD 3.0.4.7 on Windows 8 RP along with Mono for Android
Comment 1 Imgen Tata 2012-09-18 23:58:04 UTC
I think, to be exact, the correct terms are nested class and enclosing class. but I think you get the idea
Comment 2 Mike Krüger 2012-10-25 00:48:03 UTC
The fields are not accessible - maybe that's why ?



class Test
{
    int test;
    static int test2;

    class Foo
    {
        void Inner ()
        {

        }
    }
}

In Inner test2 is in the list - test is not. But that's correct. If I misunderstood something - can you provide an example file ?