diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-03-21 09:06:54 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-03-21 17:39:02 -0700 |
commit | dfd9e1b097813e9ad9d02bd0a08a25c0cc4cae32 (patch) | |
tree | 56624c47f88bc2535298efe283282ca798c902e2 /src/vm/securitymeta.cpp | |
parent | fc2246d77a951ac2111f242f3bb408af39903270 (diff) | |
download | coreclr-dfd9e1b097813e9ad9d02bd0a08a25c0cc4cae32.tar.gz coreclr-dfd9e1b097813e9ad9d02bd0a08a25c0cc4cae32.tar.bz2 coreclr-dfd9e1b097813e9ad9d02bd0a08a25c0cc4cae32.zip |
Delete legacy netcf compat support (part 1)
Diffstat (limited to 'src/vm/securitymeta.cpp')
-rw-r--r-- | src/vm/securitymeta.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/vm/securitymeta.cpp b/src/vm/securitymeta.cpp index 114a710463..85c81f75db 100644 --- a/src/vm/securitymeta.cpp +++ b/src/vm/securitymeta.cpp @@ -1612,15 +1612,6 @@ void ModuleSecurityDescriptor::VerifyDataComputed() AssemblySecurityDescriptor *pAssemSecDesc = static_cast<AssemblySecurityDescriptor*>(pAssembly->GetSecurityDescriptor()); -#ifdef FEATURE_LEGACYNETCF - // Legacy Mango apps have incorrect transparency attributes, so quirk to ignore them and force - // opportunistic criticality - if (GetAppDomain()->GetAppDomainCompatMode() == BaseDomain::APPDOMAINCOMPAT_APP_EARLIER_THAN_WP8 && !pAssemSecDesc->IsMicrosoftPlatform()) - { - moduleFlags = ModuleSecurityDescriptorFlags_IsOpportunisticallyCritical | ModuleSecurityDescriptorFlags_IsAPTCA; - } -#endif // FEATURE_LEGACYNETCF - // We shouldn't be both all transparent and all critical const ModuleSecurityDescriptorFlags invalidMask = ModuleSecurityDescriptorFlags_IsAllCritical | ModuleSecurityDescriptorFlags_IsAllTransparent; |