[mini]Add test for PtrToStruct<T>
[mono.git] / mcs / class / corlib / System.Security.Principal / WindowsIdentity.cs
index c86156e8ca137328a94758ec06621f1af0a4c29b..a36af1be59ec9ee899b61c8e938998a63906a2c8 100644 (file)
@@ -183,6 +183,18 @@ namespace System.Security.Principal {
                        return new WindowsImpersonationContext (userToken);
                }
 
+               [SecuritySafeCritical]
+               public static void RunImpersonated (SafeAccessTokenHandle safeAccessTokenHandle, Action action)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [SecuritySafeCritical]
+               public static T RunImpersonated<T> (SafeAccessTokenHandle safeAccessTokenHandle, Func<T> func)
+               {
+                       throw new NotImplementedException ();
+               }
+
                // properties
                sealed override
                public string AuthenticationType {