Posted 2 years ago
by Gavin Huet
Version: 22.1.3
Platform: .NET 6.0
Environment: Windows 11 (64-bit)
Hi,
If I have an object and reference it within a For..Each block the intellisense on the object stops working. The same object outside of the block and you get the full intellisense as expected.
This is from the Sample Visual Basic Add-On Demo project:
Public Sub test
Dim Node As Xml.XmlNode
Dim Nodes As Xml.XmlNodeList
For Each Node In Nodes
' Type "Node." results in only four intellisense options: .Equals; .GetHashCode; GetType; ToString
'Node.
Next
' Type "Node." outside of the For Each block and you get full intellisense
'Node.
End Sub
Gavin
[Modified 2 years ago]