dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.28k stars 4.73k forks source link

Remove System.SecurityException usage from managed libraries #44159

Open marek-safar opened 4 years ago

marek-safar commented 4 years ago

System.SecurityException is never thrown by the runtime and handling where such exception is caught can be removed.

There are one or two cases where this exception is thrown from libraries but maybe these could be revisited as well.

ghost commented 4 years ago

Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq, @jeffhandley See info in area-owners.md if you want to be subscribed.