diff options
author | Jan Kotas <jkotas@microsoft.com> | 2018-12-03 16:11:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 16:11:29 -0800 |
commit | 3b47496ef2656333684526cf71478253a207c1a5 (patch) | |
tree | 72bc3933479a1e6d45b62a87ff4a200663a878fe /src/vm/appdomainnative.hpp | |
parent | 248449d08f5436fbeb140a6011e412f2fea4621f (diff) | |
download | coreclr-3b47496ef2656333684526cf71478253a207c1a5.tar.gz coreclr-3b47496ef2656333684526cf71478253a207c1a5.tar.bz2 coreclr-3b47496ef2656333684526cf71478253a207c1a5.zip |
Refactor all FCalls out of AppDomain.cs (#21337)
This saves the unmanaged->managed->unmanaged trip to initialize the assembly binder.
Includes small bits of unrelated cleanup.
Diffstat (limited to 'src/vm/appdomainnative.hpp')
-rw-r--r-- | src/vm/appdomainnative.hpp | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/src/vm/appdomainnative.hpp b/src/vm/appdomainnative.hpp index 464ced73e6..0e3aa0e9b3 100644 --- a/src/vm/appdomainnative.hpp +++ b/src/vm/appdomainnative.hpp @@ -20,31 +20,13 @@ class AppDomainNative { public: - static AppDomain *ValidateArg(APPDOMAINREF pThis); - static FCDECL2(void, SetupFriendlyName, AppDomainBaseObject* refThisUNSAFE, StringObject* strFriendlyNameUNSAFE); - static FCDECL3(Object*, CreateDynamicAssembly, AssemblyNameBaseObject* assemblyNameUNSAFE, StackCrawlMark* stackMark, INT32 access); static FCDECL0(Object*, GetLoadedAssemblies); static FCDECL1(Object*, GetOrInternString, StringObject* pStringUNSAFE); - static void QCALLTYPE SetupBindingPaths(__in_z LPCWSTR wszTrustedPlatformAssemblies, __in_z LPCWSTR wszPlatformResourceRoots, __in_z LPCWSTR wszAppPaths, __in_z LPCWSTR wszAppNiPaths, __in_z LPCWSTR appLocalWinMD); - static FCDECL1(INT32, GetId, AppDomainBaseObject* refThisUNSAFE); static FCDECL1(Object*, IsStringInterned, StringObject* pString); - static FCDECL1(UINT32, GetAppDomainId, AppDomainBaseObject* refThisUNSAFE); - static FCDECL1(void , PublishAnonymouslyHostedDynamicMethodsAssembly, AssemblyBaseObject * pAssemblyUNSAFE); - static void QCALLTYPE SetNativeDllSearchDirectories(__in_z LPCWSTR wszAssembly); - -#ifdef FEATURE_APPDOMAIN_RESOURCE_MONITORING - static FCDECL0(void, EnableMonitoring); - static FCDECL0(FC_BOOL_RET, MonitoringIsEnabled); - static FCDECL1(INT64, GetTotalProcessorTime, AppDomainBaseObject* refThisUNSAFE); - static FCDECL1(INT64, GetTotalAllocatedMemorySize, AppDomainBaseObject* refThisUNSAFE); - static FCDECL1(INT64, GetLastSurvivedMemorySize, AppDomainBaseObject* refThisUNSAFE); - static FCDECL0(INT64, GetLastSurvivedProcessMemorySize); -#endif // FEATURE_APPDOMAIN_RESOURCE_MONITORING #ifdef FEATURE_APPX - static - INT32 QCALLTYPE IsAppXProcess(); + static INT32 QCALLTYPE IsAppXProcess(); #endif }; |