From a56e30c8d33048216567753d9d3fefc2152af8ac Mon Sep 17 00:00:00 2001 From: Jiyoung Yun Date: Thu, 13 Apr 2017 14:17:19 +0900 Subject: Imported Upstream version 2.0.0.11353 --- src/mscorlib/src/System/Security/SecurityState.cs | 25 ----------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/mscorlib/src/System/Security/SecurityState.cs (limited to 'src/mscorlib/src/System/Security/SecurityState.cs') diff --git a/src/mscorlib/src/System/Security/SecurityState.cs b/src/mscorlib/src/System/Security/SecurityState.cs deleted file mode 100644 index 55dcce07c0..0000000000 --- a/src/mscorlib/src/System/Security/SecurityState.cs +++ /dev/null @@ -1,25 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. -using System; -using System.Security; - -namespace System.Security -{ - public abstract class SecurityState - { - protected SecurityState(){} - - public bool IsStateAvailable() - { - AppDomainManager domainManager = AppDomainManager.CurrentAppDomainManager; - - // CheckSecuritySettings only when appdomainManager is present. So if there is no - // appDomain Manager return true as by default coreclr runs in fulltrust. - return domainManager != null ? domainManager.CheckSecuritySettings(this) : true; - } - // override this function and throw the appropriate - public abstract void EnsureState(); - } - -} -- cgit v1.2.3