From 6302d7a50884c6cf239e74bad85988be7403fe72 Mon Sep 17 00:00:00 2001 From: danmosemsft Date: Fri, 10 Feb 2017 16:07:45 -0800 Subject: Remove always undefined FEATURE_APTCA --- src/vm/clsload.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/vm/clsload.cpp') diff --git a/src/vm/clsload.cpp b/src/vm/clsload.cpp index fe74bf8a6f..fd7644ce98 100644 --- a/src/vm/clsload.cpp +++ b/src/vm/clsload.cpp @@ -5369,21 +5369,6 @@ void GetAccessExceptionAdditionalContextForSecurity(Assembly *pAccessingAssembly } #endif // FEATURE_CORECLR -#if defined(FEATURE_APTCA) && !defined(CROSSGEN_COMPILE) - // If the target assembly is conditionally APTCA, then it may needed to have been enabled in the domain - SString conditionalAptcaContext = Security::GetConditionalAptcaAccessExceptionContext(pTargetAssembly); - if (!conditionalAptcaContext.IsEmpty()) - { - pContextInformation->Append(conditionalAptcaContext); - } - - // If the target assembly is APTCA killbitted, then indicate that as well - SString aptcaKillBitContext = Security::GetAptcaKillBitAccessExceptionContext(pTargetAssembly); - if (!aptcaKillBitContext.IsEmpty()) - { - pContextInformation->Append(aptcaKillBitContext); - } -#endif // FEATURE_APTCA && !CROSSGEN_COMPILE } // Generate additional context about the root cause of an access exception which may help in debugging it (for -- cgit v1.2.3