﻿// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace System.Security.Permissions
{
    [AttributeUsage((AttributeTargets)(109), AllowMultiple = true, Inherited = false)]
    public abstract partial class SecurityAttribute : Attribute
    {
        protected SecurityAttribute(SecurityAction action) { }
        public SecurityAction Action { get; set; }
        public bool Unrestricted { get; set; }
        public abstract IPermission? CreatePermission();
    }
}
