dotnet / linker

387 stars 134 forks source link

[release/7.0] Don't crash trim analyzer on unrecognized input #3233

Closed vitek-karas closed 9 months ago

vitek-karas commented 9 months ago

This is a port of https://github.com/dotnet/runtime/pull/88836.

Note: The ParameterProxy change from the original PR doesn't apply - the code used lived in MethodProxy and didn't have the "default throw" case in the switch.

vitek-karas commented 9 months ago

Replaced by a combined PR https://github.com/dotnet/linker/pull/3234.