Refactor all FCalls out of AppDomain.cs (dotnet/coreclr#21337)
authorJan Kotas <jkotas@microsoft.com>
Tue, 4 Dec 2018 00:11:29 +0000 (16:11 -0800)
committerGitHub <noreply@github.com>
Tue, 4 Dec 2018 00:11:29 +0000 (16:11 -0800)
commita1d1594d23482ca5bb8d8978e661781b1788d777
treea5fda5fed0070e514f81f9c79988affa04cce577
parente459a64fa6bed4ed3f3e1c54ee12fd4086c2cc0d
Refactor all FCalls out of AppDomain.cs (dotnet/coreclr#21337)

This saves the unmanaged->managed->unmanaged trip to initialize the assembly binder.

Includes small bits of unrelated cleanup.

Commit migrated from https://github.com/dotnet/coreclr/commit/3b47496ef2656333684526cf71478253a207c1a5
33 files changed:
src/coreclr/src/System.Private.CoreLib/ILLinkTrim.xml
src/coreclr/src/System.Private.CoreLib/Resources/Strings.resx
src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj
src/coreclr/src/System.Private.CoreLib/src/System/AppContext.cs [moved from src/coreclr/src/System.Private.CoreLib/src/System/AppContext/AppContext.cs with 96% similarity]
src/coreclr/src/System.Private.CoreLib/src/System/AppDomain.cs
src/coreclr/src/System.Private.CoreLib/src/System/Reflection/Assembly.CoreCLR.cs
src/coreclr/src/System.Private.CoreLib/src/System/Reflection/Emit/DynamicMethod.cs
src/coreclr/src/System.Private.CoreLib/src/System/Runtime/Loader/AssemblyLoadContext.cs
src/coreclr/src/System.Private.CoreLib/src/System/Threading/Tasks/AsyncCausalityTracer.cs
src/coreclr/src/binder/assemblybinder.cpp
src/coreclr/src/inc/cor.h
src/coreclr/src/vm/appdomain.cpp
src/coreclr/src/vm/appdomain.hpp
src/coreclr/src/vm/appdomainnative.cpp
src/coreclr/src/vm/appdomainnative.hpp
src/coreclr/src/vm/assembly.cpp
src/coreclr/src/vm/assemblyname.cpp
src/coreclr/src/vm/assemblyspec.cpp
src/coreclr/src/vm/assemblyspec.hpp
src/coreclr/src/vm/clrprivbinderwinrt.cpp
src/coreclr/src/vm/clrprivbinderwinrt.h
src/coreclr/src/vm/comcallablewrapper.cpp
src/coreclr/src/vm/comcallablewrapper.h
src/coreclr/src/vm/comsynchronizable.h
src/coreclr/src/vm/corhost.cpp
src/coreclr/src/vm/crossgencompile.cpp
src/coreclr/src/vm/domainfile.cpp
src/coreclr/src/vm/ecalllist.h
src/coreclr/src/vm/interoputil.cpp
src/coreclr/src/vm/metasig.h
src/coreclr/src/vm/mscorlib.h
src/coreclr/src/vm/object.h
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs