diff options
author | David Wrighton <davidwr@microsoft.com> | 2019-04-24 17:01:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-24 17:01:31 -0700 |
commit | 4a2654124ecf38300a717db79926334703abeb70 (patch) | |
tree | 3a1ef48777671541574388420eb3411c38795205 /src/vm/assembly.hpp | |
parent | e9691546d308fde4e56cc821f8c9bfda7e9a8b91 (diff) | |
download | coreclr-4a2654124ecf38300a717db79926334703abeb70.tar.gz coreclr-4a2654124ecf38300a717db79926334703abeb70.tar.bz2 coreclr-4a2654124ecf38300a717db79926334703abeb70.zip |
More multi-appdomain support removal (#23921)
More multi-appdomain support removal
- Remove DomainLocalBlock
- Remove DomainModule
- Remove FindDomain(File/Module/Assembly)
- Remove GetDomainModule
- Remove variants of GetDomain(File/Assembly) that take AppDomain parameter
- Adjust contracts to be less strict
- GetDomainFile/Assembly no longer need a complex contract as multi-domain support does not exist
- Eliminiate uses of encoded ModuleID
Diffstat (limited to 'src/vm/assembly.hpp')
-rw-r--r-- | src/vm/assembly.hpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/vm/assembly.hpp b/src/vm/assembly.hpp index 43d91725de..5adf596a38 100644 --- a/src/vm/assembly.hpp +++ b/src/vm/assembly.hpp @@ -432,17 +432,9 @@ public: //**************************************************************************************** - DomainAssembly *GetDomainAssembly(AppDomain *pDomain); + DomainAssembly *GetDomainAssembly(); void SetDomainAssembly(DomainAssembly *pAssembly); - // Verison of GetDomainAssembly that uses the current AppDomain (N/A in DAC builds) -#ifndef DACCESS_COMPILE - DomainAssembly *GetDomainAssembly() { WRAPPER_NO_CONTRACT; return GetDomainAssembly(GetAppDomain()); } -#endif - - // FindDomainAssembly will return NULL if the assembly is not in the given domain - DomainAssembly *FindDomainAssembly(AppDomain *pDomain); - #if defined(FEATURE_COLLECTIBLE_TYPES) && !defined(DACCESS_COMPILE) OBJECTHANDLE GetLoaderAllocatorObjectHandle() { WRAPPER_NO_CONTRACT; return GetLoaderAllocator()->GetLoaderAllocatorObjectHandle(); } #endif // FEATURE_COLLECTIBLE_TYPES |