diff options
Diffstat (limited to 'mcs/class/corlib/System.Security/SecurityContext.cs')
-rw-r--r-- | mcs/class/corlib/System.Security/SecurityContext.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/mcs/class/corlib/System.Security/SecurityContext.cs b/mcs/class/corlib/System.Security/SecurityContext.cs index bfa36d7715e..cd84c88a2af 100644 --- a/mcs/class/corlib/System.Security/SecurityContext.cs +++ b/mcs/class/corlib/System.Security/SecurityContext.cs @@ -33,7 +33,11 @@ using System.Threading; namespace System.Security { - public sealed class SecurityContext { + public sealed class SecurityContext +#if NET_4_0 + : IDisposable +#endif + { private bool _capture; private IntPtr _winid; private CompressedStack _stack; @@ -75,6 +79,12 @@ namespace System.Security { capture._stack = CompressedStack.Capture (); return capture; } + +#if NET_4_0 + public void Dispose () + { + } +#endif // internal stuff |