<PackageReference Include="System.Security.AccessControl" Version="5.0.0-rc.2.20475.5" />

ObjectAccessRule

public abstract class ObjectAccessRule : AccessRule
using System.Security.Principal; namespace System.Security.AccessControl { public abstract class ObjectAccessRule : AccessRule { public Guid InheritedObjectType { get { throw new PlatformNotSupportedException(); } } public ObjectAceFlags ObjectFlags { get { throw new PlatformNotSupportedException(); } } public Guid ObjectType { get { throw new PlatformNotSupportedException(); } } protected ObjectAccessRule(IdentityReference identity, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, Guid objectType, Guid inheritedObjectType, AccessControlType type) : base(null, 0, false, InheritanceFlags.None, PropagationFlags.None, AccessControlType.Allow) { throw new PlatformNotSupportedException(); } } }