Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix overloaded constructor selection under interop #1543

Merged

Conversation

lahma
Copy link
Collaborator

@lahma lahma commented Apr 29, 2023

  • should not convert to optional parameters when missing argument count doesn't match optional parameter count

fixes #1542

* should not convert to optional parameters when argument count doesn't allow it
@lahma lahma force-pushed the fix-constructor-overloads-under-interop branch from 09c3bf4 to 6c63e02 Compare April 29, 2023 06:11
@lahma lahma enabled auto-merge (squash) April 29, 2023 06:16
@lahma lahma merged commit 800f428 into sebastienros:main Apr 29, 2023
3 checks passed
@lahma lahma deleted the fix-constructor-overloads-under-interop branch April 29, 2023 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NullReferenceException when creating object with specific setup
1 participant