summaryrefslogtreecommitdiff
path: root/src/vm/pefile.inl
diff options
context:
space:
mode:
authordanmosemsft <danmose@microsoft.com>2017-02-12 11:19:46 -0800
committerdanmosemsft <danmose@microsoft.com>2017-02-12 16:58:48 -0800
commitf7585ef29164a2f3f9d3913eb9f87943094d30b3 (patch)
tree140a11f46681cb4108378c86f3eb9b35b67600c7 /src/vm/pefile.inl
parentcb8a7b899283653156cc32fe5f3f45924207ad3e (diff)
downloadcoreclr-f7585ef29164a2f3f9d3913eb9f87943094d30b3.tar.gz
coreclr-f7585ef29164a2f3f9d3913eb9f87943094d30b3.tar.bz2
coreclr-f7585ef29164a2f3f9d3913eb9f87943094d30b3.zip
Remove always defined FEATURE_VERSIONING
Diffstat (limited to 'src/vm/pefile.inl')
-rw-r--r--src/vm/pefile.inl12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/vm/pefile.inl b/src/vm/pefile.inl
index da70cc2a74..455a46d919 100644
--- a/src/vm/pefile.inl
+++ b/src/vm/pefile.inl
@@ -106,19 +106,7 @@ inline ULONG PEAssembly::HashIdentity()
GC_TRIGGERS;
}
CONTRACTL_END;
-#ifdef FEATURE_VERSIONING
return BINDER_SPACE::GetAssemblyFromPrivAssemblyFast(m_pHostAssembly)->GetAssemblyName()->Hash(BINDER_SPACE::AssemblyName::INCLUDE_VERSION);
-#else
- if (!m_identity->HasID())
- {
- if (!IsLoaded())
- return 0;
- else
- return (ULONG) dac_cast<TADDR>(GetLoaded()->GetBase());
- }
- else
- return m_identity->GetIDHash();
-#endif
}
inline void PEFile::ValidateForExecution()