File: src\libraries\System.Private.CoreLib\src\System\Security\IPermission.cs
Web Access
Project: src\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj (System.Private.CoreLib)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Security
{
    [Obsolete(Obsoletions.CodeAccessSecurityMessage, DiagnosticId = Obsoletions.CodeAccessSecurityDiagId, UrlFormat = Obsoletions.SharedUrlFormat)]
    public partial interface IPermission : ISecurityEncodable
    {
        IPermission Copy();
        void Demand();
        IPermission? Intersect(IPermission? target);
        bool IsSubsetOf(IPermission? target);
        IPermission? Union(IPermission? target);
    }
}