Using VA 1823 with VS2008, and working in C#, I have added the following code to a .cs file:
abstract class testFindRefBaseClassCS
{
public testFindRefBaseClassCS() { }
abstract public string displayName();
abstract public testFindRefBaseClassCS cloneMe();
}
class testFindRefChildOneCS : testFindRefBaseClassCS
{
public testFindRefChildOneCS() { }
public override string displayName() { return "child class"; }
public override testFindRefBaseClassCS cloneMe() { return new testFindRefChildOneCS(); }
}
class testFindRefGrandChildOneCS : testFindRefChildOneCS
{
public testFindRefGrandChildOneCS() { }
public override string displayName() { return "grandchild class"; }
public override testFindRefBaseClassCS cloneMe() { return new testFindRefGrandChildOneCS(); }
}
and when I run Find References on either function "displayName" or "cloneMe" in any of the three classes, VA always finds 3 functions. So it is scanning up and down the class hierarchy.
Can you please try this code on your system and see what results you get.