Merge pull request #1173 from Serguzest/upstream
[mono.git] / mcs / class / corlib / System.Security.AccessControl / ObjectSecurity.cs
index ea0c2301f60127e6fb81a4b803b863234e90e2d0..a875b7864ae209cf60b93b97106e022ec0c247fe 100644 (file)
@@ -33,6 +33,9 @@ using System.Collections.Generic;
 using System.Security.Principal;
 using System.Runtime.InteropServices;
 using System.Threading;
+#if NET_4_0
+using System.Runtime.ExceptionServices;
+#endif
 
 namespace System.Security.AccessControl
 {
@@ -349,6 +352,9 @@ namespace System.Security.AccessControl
                }
                
                [MonoTODO]
+#if NET_4_0
+               [HandleProcessCorruptedStateExceptions]
+#endif
                protected virtual void Persist (bool enableOwnershipPrivilege, string name, AccessControlSections includeSections)
                {
                        throw new NotImplementedException ();