CsWinRT icon indicating copy to clipboard operation
CsWinRT copied to clipboard

Handle missing types exception free

Open manodasanW opened this issue 1 year ago • 0 comments

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.

manodasanW avatar Jul 25 '22 21:07 manodasanW