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

AuthorizationRuleCollection

using System.Collections; namespace System.Security.AccessControl { public sealed class AuthorizationRuleCollection : ICollection, IEnumerable { public int Count { get { throw new PlatformNotSupportedException(); } } public AuthorizationRule this[int index] { get { throw new PlatformNotSupportedException(); } } bool ICollection.IsSynchronized { get { throw new PlatformNotSupportedException(); } } object ICollection.SyncRoot { get { throw new PlatformNotSupportedException(); } } public AuthorizationRuleCollection() { throw new PlatformNotSupportedException(); } public void AddRule(AuthorizationRule rule) { throw new PlatformNotSupportedException(); } public void CopyTo(AuthorizationRule[] rules, int index) { throw new PlatformNotSupportedException(); } void ICollection.CopyTo(Array array, int index) { throw new PlatformNotSupportedException(); } IEnumerator IEnumerable.GetEnumerator() { throw new PlatformNotSupportedException(); } } }