Delete dead code (dotnet/coreclr#18783)
authorJan Kotas <jkotas@microsoft.com>
Thu, 5 Jul 2018 06:04:02 +0000 (08:04 +0200)
committerGitHub <noreply@github.com>
Thu, 5 Jul 2018 06:04:02 +0000 (08:04 +0200)
commit3794c7a10d78d8bf005fced2af84448ee7044718
tree2e6167305308870cb24ba46eb0927f7854a3dc73
parentd49a76c364bccc10a95f11b233f58a5d2c5667ab
Delete dead code (dotnet/coreclr#18783)

- Leftover from unobserved exception desktop quirk
- Unnecessary calls to AppDomain.IsFinalizingForUnload(). They were actually never required even with AppDomain support because of Environment.HasShutdownStarted returns true during AppDomain unload.

Commit migrated from https://github.com/dotnet/coreclr/commit/cd1232d47cc028ebf6d22621ce63903a7e5c0e94
src/coreclr/src/System.Private.CoreLib/src/System/AppDomain.cs
src/coreclr/src/System.Private.CoreLib/src/System/Reflection/Emit/DynamicILGenerator.cs
src/coreclr/src/System.Private.CoreLib/src/System/Reflection/LoaderAllocator.cs
src/coreclr/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskExceptionHolder.cs
src/coreclr/src/System.Private.CoreLib/src/System/Threading/ThreadPool.cs
src/coreclr/src/System.Private.CoreLib/src/System/Threading/Timer.cs
src/coreclr/src/vm/appdomainnative.cpp
src/coreclr/src/vm/appdomainnative.hpp
src/coreclr/src/vm/ecalllist.h