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

Unmatched Method Signature Gives Unhelpful Exception - Still happens #4

Open
tjayharvey opened this issue Sep 27, 2015 · 2 comments
Open

Comments

@tjayharvey
Copy link

When a ModifyMethod targets a method that isn't present in the target assembly (possibly because its signature is slightly different) it throws a not very helpful Null Reference Exception that doesn't tell you what method is causing the problem.

@GregRos
Copy link
Owner

GregRos commented Dec 16, 2015

Curse you Tony Hoare!

Admittedly it's a little late, but I'll fix the problem.

@GregRos GregRos closed this as completed Dec 29, 2015
@fireundubh
Copy link

The KeyNotFoundException message is still not very helpful.

I found that adding this.Logger.Fatal(ex.Message); to the try-catch in ApplyInstructions() actually tells you what's up.

@GregRos GregRos reopened this Oct 27, 2018
@GregRos GregRos changed the title Unmatched Method Signature Gives Unhelpful Exception Unmatched Method Signature Gives Unhelpful Exception - Still happens Oct 27, 2018
GregRos added a commit that referenced this issue Nov 5, 2018
Fix GetEnumValueText field selection (#4)
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

No branches or pull requests

3 participants