diff options
Diffstat (limited to 'src/vm/securitystackwalk.h')
-rw-r--r-- | src/vm/securitystackwalk.h | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/src/vm/securitystackwalk.h b/src/vm/securitystackwalk.h index aa6c1c1e6a..57be57f387 100644 --- a/src/vm/securitystackwalk.h +++ b/src/vm/securitystackwalk.h @@ -18,14 +18,7 @@ #include "perfcounters.h" #include "security.h" #include "holder.h" -#ifdef FEATURE_REMOTING -#include "appdomainhelper.h" -#endif - -#ifdef FEATURE_COMPRESSEDSTACK -class NewCompressedStack; -class DomainCompressedStack; -#endif // FEATURE_COMPRESSEDSTACK + class ApplicationSecurityDescriptor; class DemandStackWalk; class CountOverridesStackWalk; @@ -44,9 +37,6 @@ protected: DWORD m_dwFlags; public: -#ifdef FEATURE_REMOTING - MarshalCache m_objects; -#else //!FEATURE_REMOTING struct ObjectCache { struct gc @@ -103,7 +93,6 @@ public: } } m_objects; -#endif //!FEATURE_REMOTING SecurityStackWalk(SecurityStackWalkType eType, DWORD flags) { @@ -169,9 +158,6 @@ public: // Callers: // CanAccess (ReflectionInvocation) // ReflectionSerialization::GetSafeUninitializedObject -#ifdef FEATURE_APTCA - // SecurityDeclarative::DoUntrustedCallerChecks -#endif // FEATURE_APTCA static void DemandSet(SecurityStackWalkType eType, OBJECTREF demand); // Native version of PermissionSet.Demand() that delays instantiating the PermissionSet object @@ -211,25 +197,6 @@ public: // Compressed Stack // ---------------------------------------------------- public: -#ifdef FEATURE_COMPRESSEDSTACK - static FCDECL2(Object*, EcallGetDelayedCompressedStack, StackCrawlMark* stackMark, CLR_BOOL fWalkStack); - static FCDECL1(VOID, FcallDestroyDelayedCompressedStack, void *compressedStack); - static COMPRESSEDSTACKREF GetCSFromContextTransitionFrame(Frame *pFrame); - static BOOL IsContextTransitionFrameWithCS(Frame *pFrame) - { - CONTRACTL - { - NOTHROW; - GC_NOTRIGGER; - SO_TOLERANT; - MODE_COOPERATIVE; - } - CONTRACTL_END; - return (GetCSFromContextTransitionFrame(pFrame) != NULL); - } - static BOOL MethodIsAnonymouslyHostedDynamicMethodWithCSToEvaluate(MethodDesc* pMeth); - -#endif // #ifdef FEATURE_COMPRESSEDSTACK #ifndef DACCESS_COMPILE FORCEINLINE static BOOL HasFlagsOrFullyTrustedIgnoreMode (DWORD flags); |