Intellisense not displaying that method parameters are ByRef

SyntaxEditor .NET Languages Add-on for Windows Forms Forum

The latest build of this product (v24.1.1) was released 6 months ago, which was before this thread was created.
Posted 2 months ago by Gavin Huet
Version: 24.1.1
Platform: .NET 6.0
Environment: Windows 11 (64-bit)
Avatar

Hi,

Noticed that if I have a method that has a ByRef parameter in VB.Net, the intellisense in the Syntax Editor does not show the "ByRef" part.

In older versions of the Syntax Editor this did work, but I am unsure when it changed.

Regards

Gavin

Comments (3)

Posted 2 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Gavin,

When I run our SDI Code Editor demo, load VB.NET and paste in the following code, hovering over the Bar method call shows the ByRef ok:

Class Foo
	Sub Bar(ByRef arg As String)
		Bar()
	End Sub
End Class

Do you not see the same?  Can you tell us how to reproduce what you see?  Thanks!


Actipro Software Support

Posted 2 months ago by Gavin Huet
Avatar

Hi,

This behaviour is reproduceable if you have an external assembly loaded that has a ByRef parameter in a method.

I can send you a screenshot if you need it.

Thanks

Gavin

Posted 2 months ago by Gavin Huet
Avatar

Email has been sent to the support @ actiprosoftware address. Ticket Number: 2D5-2F2D4750-0004

This has two screenshots:

  • ByRef as an optional parameter
  • Byref as a mandatory parameter

On the left is the script editor and on the right is the source code.

Gavin

[Modified 2 months ago]

Add Comment

Please log in to a validated account to post comments.