<PackageReference Include="System.Security.AccessControl" Version="6.0.1" />

GenericAcl

public abstract class GenericAcl : ICollection, IEnumerable
using System.Collections; using System.Runtime.CompilerServices; namespace System.Security.AccessControl { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public abstract class GenericAcl : ICollection, IEnumerable { public static readonly byte AclRevision; public static readonly byte AclRevisionDS; public static readonly int MaxBinaryLength; public abstract int BinaryLength { get; } public abstract int Count { get; } public bool IsSynchronized { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } public abstract GenericAce this[int index] { get; set; } public abstract byte Revision { get; } public virtual object SyncRoot { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } protected GenericAcl() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void CopyTo(GenericAce[] array, int index) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public abstract void GetBinaryForm(byte[] binaryForm, int offset); public AceEnumerator GetEnumerator() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } void ICollection.CopyTo(Array array, int index) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } IEnumerator IEnumerable.GetEnumerator() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } }