Action lamda breaks upon VB to C# conversion

0
0

Hi, I’m trying to work through the lambda functions that broke when converting my VB WiseJ project to C#, could you please see the issue logged here and tell me what I am missing in my C# lambda function?  Thanks

Andrew

PS: I should mention that the project was upgraded from WiseJ 2.2 to 2.5, in case the signature of UserPopup.ShowPopup() has changed since then

https://github.com/icsharpcode/CodeConverter/issues/783

  • You must to post comments
0
0

The signature

public void ShowPopup(int x, int y, Action<UserPopup> onclose = null);

Means there is an argument

Sub (popup as UserPopup) End Sub

or

(popup) => {}

 

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.