Hi
The following small file demonstrates the problem:
using System;
using System.Collections.Generic;
using System.Text;
namespace X
{
abstract class Class1
{
public abstract void Test();
public abstract void Test2<T>() where T:new();
public abstract void Test3();
public abstract void Test4();
}
}
If you use the methods list on this file, you'll see that Test2 is not listed.
Remove the "where" clause, and it starts to appear.
If you give the functions bodies (replace ";" with "{}"), the methods list shows only functions that are before the constrained one in the file.
If you give Test2 a body consisting of an empty inner scope:
public abstract void Test2<T>() where T:new()
{
{
}
}
then VAX does a slightly better job, ignoring only the constrained function and the one following it.
Thanks,
--Tom