Fix build break caused by git commit for AppDomain::GetAssemblies
authorRahul Kumar <rahku@microsoft.com>
Wed, 26 Oct 2016 00:15:57 +0000 (17:15 -0700)
committerRahul Kumar <rahku@microsoft.com>
Wed, 26 Oct 2016 00:15:57 +0000 (17:15 -0700)
[tfs-changeset: 1635147]

Commit migrated from https://github.com/dotnet/coreclr/commit/9dc2d9972257a496274580a10fa75994612615f0

src/coreclr/src/vm/appdomain.cpp

index 0646127..e8aed79 100644 (file)
@@ -8084,11 +8084,13 @@ BOOL AppDomain::IsCached(AssemblySpec *pSpec)
     return m_AssemblyCache.Contains(pSpec);
 }
 
+#ifdef FEATURE_CORECLR
 void AppDomain::GetCacheAssemblyList(SetSHash<PTR_DomainAssembly>& assemblyList)
 {
     CrstHolder holder(&m_DomainCacheCrst);
     m_AssemblyCache.GetAllAssemblies(assemblyList);
 }
+#endif
 
 PEAssembly* AppDomain::FindCachedFile(AssemblySpec* pSpec, BOOL fThrow /*=TRUE*/)
 {