Bug 4927 - [New Resolver] Autocomplete shows non-static methods when using class name
Summary: [New Resolver] Autocomplete shows non-static methods when using class name
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: 2.9.x
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2012-05-07 13:04 UTC by lindsey.driscoll
Modified: 2012-05-08 01:18 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 FIXED

Description lindsey.driscoll 2012-05-07 13:04:12 UTC
Autocomplete lists instance methods when going to access a class's static method with the same name

Example:

public class A
{
  // static method
  public static void Method(string someParameter, object anotherParameter)
  {
  }

  // instance method
  public void Method()
  {
  }
}


public class B
{
  public static void Main()
  {
    A.Method(); // <-- Autocomplete allows/shows the method, but 
                //     fails after building
  }
}


Environment:

MacOSX: Lion
Mono: 2.10.9
MD: 3.0-series (revision-5830190996715c87a5421a5a16559e1e717bd3a7) (version displaying 2.9.6)
Comment 1 Mike Krüger 2012-05-07 14:49:03 UTC
It's not auto complete it's parameter insight :)
Comment 2 Mike Krüger 2012-05-08 01:18:49 UTC
fixed.