// dnlib: See LICENSE.txt for more info
namespace dnlib.DotNet {
///
/// Security action. See CorHdr.h/CorDeclSecurity
///
public enum SecurityAction : short {
/// Mask allows growth of enum.
ActionMask = 0x001F,
///
ActionNil = 0x0000,
///
Request = 0x0001,
///
Demand = 0x0002,
///
Assert = 0x0003,
///
Deny = 0x0004,
///
PermitOnly = 0x0005,
///
LinktimeCheck = 0x0006,
///
LinkDemand = LinktimeCheck,
///
InheritanceCheck = 0x0007,
///
InheritDemand = InheritanceCheck,
///
RequestMinimum = 0x0008,
///
RequestOptional = 0x0009,
///
RequestRefuse = 0x000A,
/// Persisted grant set at prejit time
PrejitGrant = 0x000B,
/// Persisted grant set at prejit time
PreJitGrant = PrejitGrant,
/// Persisted denied set at prejit time
PrejitDenied = 0x000C,
/// Persisted denied set at prejit time
PreJitDeny = PrejitDenied,
///
NonCasDemand = 0x000D,
///
NonCasLinkDemand = 0x000E,
///
NonCasInheritance = 0x000F,
/// Maximum legal value
MaximumValue = 0x000F,
}
}