Describe the bug
Does not find references to Functions or Property Gets when used directly as the value of a named argument. Does find other references and also finds references to variables, statics and other types when used as the value of a named argument.
To Reproduce
Sample code:
Sub Foo()
Bar lVal:=GetNum
Bar GetNum
End Sub
Sub Bar(lVal As Long)
Debug.Print Now, lVal
End Sub
Function GetNum() As Long
GetNum = 42
End Function
... get references for GetNum ... will find only 3 with the reference in line Bar lVal:=GetNum being omitted.
Expected behavior
Find all 4 references.
Please complete the following information:
VBE_Extras v1.1.6.0 [Debug], build 13 Jan 2023 12:17:17
LGF: v2.1.0.0
LGS: v3.0.1.0
LFF: v3.6.4.0
.NET Framework 4.8.4515.0
CLR: v4.0.30319
Microsoft Windows 10.0.19045 : X64
Dev device
Excel 365 (16.0, 15831, WIN64, VBA7)
VBE 7.01
UI Lang: en-US
Host: EXCEL.EXE v16.0.15831.20208
Describe the bug Does not find references to Functions or Property Gets when used directly as the value of a named argument. Does find other references and also finds references to variables, statics and other types when used as the value of a named argument.
To Reproduce Sample code:
... get references for GetNum ... will find only 3 with the reference in line
Bar lVal:=GetNum
being omitted.Expected behavior Find all 4 references.
Please complete the following information: VBE_Extras v1.1.6.0 [Debug], build 13 Jan 2023 12:17:17 LGF: v2.1.0.0 LGS: v3.0.1.0 LFF: v3.6.4.0 .NET Framework 4.8.4515.0 CLR: v4.0.30319 Microsoft Windows 10.0.19045 : X64 Dev device Excel 365 (16.0, 15831, WIN64, VBA7) VBE 7.01 UI Lang: en-US Host: EXCEL.EXE v16.0.15831.20208