<PackageReference Include="System.Security.Permissions" Version="10.0.0-preview.2.25163.2" />

SecurityContextSource

public enum SecurityContextSource
Identifies the source for the security context.
namespace System.Security { public enum SecurityContextSource { CurrentAppDomain, CurrentAssembly } }