summaryrefslogtreecommitdiff
path: root/src/vm/dllimport.h
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2019-06-11 13:18:03 -0700
committerGitHub <noreply@github.com>2019-06-11 13:18:03 -0700
commitbeeae6da7c1f35fa335868521e1de21a2403eff4 (patch)
tree1bfdb63223308e2db827b9263cf77259f07398af /src/vm/dllimport.h
parent93675fbf467f54ab0f1f5d183c70750c9822c9ca (diff)
downloadcoreclr-beeae6da7c1f35fa335868521e1de21a2403eff4.tar.gz
coreclr-beeae6da7c1f35fa335868521e1de21a2403eff4.tar.bz2
coreclr-beeae6da7c1f35fa335868521e1de21a2403eff4.zip
Delete dead code (#25066)
Diffstat (limited to 'src/vm/dllimport.h')
-rw-r--r--src/vm/dllimport.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/vm/dllimport.h b/src/vm/dllimport.h
index 4e3b862760..740a5e596e 100644
--- a/src/vm/dllimport.h
+++ b/src/vm/dllimport.h
@@ -60,11 +60,6 @@ class NDirect
public:
//---------------------------------------------------------
- // One-time init
- //---------------------------------------------------------
- static void Init();
-
- //---------------------------------------------------------
// Does a class or method have a NAT_L CustomAttribute?
//
// S_OK = yes
@@ -129,18 +124,6 @@ private:
static NATIVE_LIBRARY_HANDLE LoadLibraryModuleViaCallback(NDirectMethodDesc * pMD, LPCWSTR wszLibName);
static NATIVE_LIBRARY_HANDLE LoadLibraryModuleBySearch(NDirectMethodDesc * pMD, LoadLibErrorTracker * pErrorTracker, LPCWSTR wszLibName);
static NATIVE_LIBRARY_HANDLE LoadLibraryModuleBySearch(Assembly *callingAssembly, BOOL searchAssemblyDirectory, DWORD dllImportSearchPathFlags, LoadLibErrorTracker * pErrorTracker, LPCWSTR wszLibName);
-
-#if !defined(FEATURE_PAL)
- // Indicates if the OS supports the new secure LoadLibraryEx flags introduced in KB2533623
- static bool s_fSecureLoadLibrarySupported;
-
-public:
- static bool SecureLoadLibrarySupported()
- {
- LIMITED_METHOD_CONTRACT;
- return s_fSecureLoadLibrarySupported;
- }
-#endif // !FEATURE_PAL
};
//----------------------------------------------------------------