You've already forked linux-packaging-mono
Imported Upstream version 4.3.2.467
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
This commit is contained in:
@@ -22,7 +22,13 @@ namespace System.Security
|
||||
public bool IsStateAvailable()
|
||||
{
|
||||
AppDomainManager domainManager = AppDomainManager.CurrentAppDomainManager;
|
||||
#if FEATURE_CORECLR
|
||||
// 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;
|
||||
#else
|
||||
return domainManager != null ? domainManager.CheckSecuritySettings(this) : false;
|
||||
#endif
|
||||
}
|
||||
// override this function and throw the appropriate
|
||||
public abstract void EnsureState();
|
||||
|
Reference in New Issue
Block a user