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

Swallowed exceptions on creating .NET objects #553

Closed
tluyben opened this issue Nov 10, 2018 · 1 comment · Fixed by #860
Closed

Swallowed exceptions on creating .NET objects #553

tluyben opened this issue Nov 10, 2018 · 1 comment · Fixed by #860
Labels

Comments

@tluyben
Copy link

tluyben commented Nov 10, 2018

Not sure if this has been reported (I read all similar issues and those seem not to be the same thing); this swallows exceptions:

So running:

new System.Uri("notavaliduri");

Which returns:

"No public methods with the specified arguments were found."

Instead of the actual Exception.

@sebastienros
Copy link
Owner

I assume this is a problem for constructors only. I think the code we have for methods invocation is well done, we should do the same thing here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants