From 16eb7551d9f5ea8ec593dc86b789df4db2198a4b Mon Sep 17 00:00:00 2001 From: danmosemsft Date: Tue, 14 Feb 2017 21:07:49 -0800 Subject: Remove never defined FEATURE_MIXEDMODE --- src/vm/assembly.cpp | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'src/vm/assembly.cpp') diff --git a/src/vm/assembly.cpp b/src/vm/assembly.cpp index fc9ce7189c..3d05368317 100644 --- a/src/vm/assembly.cpp +++ b/src/vm/assembly.cpp @@ -1834,37 +1834,6 @@ Module* Assembly::FindModule(PEFile *pFile, BOOL includeLoading) } #endif // FEATURE_MULTIMODULE_ASSEMBLIES -#ifdef FEATURE_MIXEDMODE -DomainFile* Assembly::FindIJWDomainFile(HMODULE hMod, const SString &path) -{ - CONTRACT (DomainFile*) - { - INSTANCE_CHECK; - THROWS; - GC_TRIGGERS; - MODE_ANY; - PRECONDITION(CheckPointer(GetManifestModule())); - POSTCONDITION(CheckPointer(RETVAL, NULL_OK)); - } - CONTRACT_END; - - ModuleIterator i = IterateModules(); - while (i.Next()) - { - PEFile *pFile = i.GetModule()->GetFile(); - - if ( !pFile->IsResource() - && !pFile->IsDynamic() - && !pFile->IsILOnly()) - { - if ( (pFile->GetLoadedIL()!= NULL && pFile->GetIJWBase() == hMod) - || PEImage::PathEquals(pFile->GetPath(), path)) - RETURN i.GetModule()->GetDomainFile(); - } - } - RETURN NULL; -} -#endif // FEATURE_MIXEDMODE //***************************************************************************** // Set up the list of names of any friend assemblies -- cgit v1.2.3