the Fiddler's picture

[Bind] Work around VS bug by ensuring pointer parameters are generated last

Project:The Open Toolkit library
Category:bug report

VS2008 (and possibly VS2005) suffer from a bug where the order of function overloads affects how many overloads are visible on intellisense. For example this order:

void Foo(int[] bar);
void Foo(ref int bar);
void Foo(int* bar);

will display all three methods on intellisense. However, moving the pointer to the top will result in only two overloads being visible on intellisense:

void Foo(int* bar);
void Foo(int[] bar);
void Foo(ref int bar);

The binding generator used to ensure the first order in all cases, however a recent commit changed methods to be in alphabetic order in all cases.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture


Status:open» fixed

Fixed committed 1.0 branch and trunk (r2532).

the Fiddler's picture


Version:0.9.x-dev» 1.0-beta-2
Status:fixed» closed

Closing issues fixed in 1.0 beta-2.