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

Handle missing types exception free #1227

Merged
merged 2 commits into from
Aug 12, 2022
Merged

Conversation

manodasanW
Copy link
Member

With IL trimming, types not being found to create an RCW can become a common thing and there are various fallbacks to handle that like using the base type. Today, given it was not common, we had thrown a first chance exception when something like that happened that which we later caught and handled. But with it becoming common, this first chance exception can be noisy and maybe even expensive. Due to that, this PR changes to handle that scenario exception free.

… if anyone has first chance exceptions enabled for TypeLoadException. Handling it without throwing exception.
@manodasanW manodasanW requested a review from j0shuams July 25, 2022 21:40
@manodasanW manodasanW merged commit 05f36a5 into master Aug 12, 2022
@manodasanW manodasanW deleted the manodasanw/HandleTypeNotFound branch August 12, 2022 17:41
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.

2 participants