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

AuthorizationRuleCollection

Represents a collection of AuthorizationRule objects.
using System.Collections; using System.Runtime.CompilerServices; namespace System.Security.AccessControl { [System.Runtime.CompilerServices.NullableContext(2)] [System.Runtime.CompilerServices.Nullable(0)] public sealed class AuthorizationRuleCollection : ReadOnlyCollectionBase { public AuthorizationRule this[int index] { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } public AuthorizationRuleCollection() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void AddRule(AuthorizationRule rule) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } [System.Runtime.CompilerServices.NullableContext(1)] public void CopyTo(AuthorizationRule[] rules, int index) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } }