Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

VB -> C#: Public objects in the GUI become private after conversion #618

Closed
marcal opened this issue Aug 25, 2020 · 6 comments
Closed

VB -> C#: Public objects in the GUI become private after conversion #618

marcal opened this issue Aug 25, 2020 · 6 comments
Labels
VB -> C# Specific to VB -> C# conversion

Comments

@marcal
Copy link

marcal commented Aug 25, 2020

Hello,
I have made a test with a public object.
The object is used with the instace variable (for example the Form
FormTest is used (in the code)
imgexplorer is defined as public in the designer.

FormTest.imgexplorer

I have a form that has an ImageList. The object is public (every window of my project references the ImgForm.ImageList.

After the conversion it becomes private

Public imgExplorer as ImageList 

Erroneous output

private ImageList imgExplorer;

Expected output

public ImageList imgExplorer;

Details

  • .NET extension 8.1.7
  • It worked one moth ago
@marcal marcal added the VB -> C# Specific to VB -> C# conversion label Aug 25, 2020
@GrahamTheCoder
Copy link
Member

Probably related to #616
3 people have mentioned it now and it's a regression so I'm going to look at this as a priority

@GrahamTheCoder
Copy link
Member

There's now a fix in master which I'll hopefully release soon. If anyone could retest on the latest source, or CI build that'd be much appreciated. Thanks!

@marcal
Copy link
Author

marcal commented Aug 29, 2020

Hello,

I launch a test before leaving. I report when it is over and I am back (in 3-4 hours I think)

@marcal
Copy link
Author

marcal commented Aug 29, 2020

Hello,

The problem is solved
Thank you

@GrahamTheCoder
Copy link
Member

Thanks for testing, it'll be released soon

@marcal
Copy link
Author

marcal commented Sep 1, 2020

Thank you

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
VB -> C# Specific to VB -> C# conversion
Projects
None yet
Development

No branches or pull requests

2 participants