title: Analog System.Security.Permissions in .NET Core
body: <p>I am trying to port project to .NET Core, but can't find analog System.Security.Permissions. Project uses construction like that</p>
  
  <p><code>[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")] or 
   [EnvironmentPermission(SecurityAction.LinkDemand, Unrestricted = true)]</code>,
  ''</p>