System.Security.Permissions.ReflectionPermissionAttribute
Allows security actions for ReflectionPermission to be applied to code using declarative security.
namespace System.Security.Permissions
{
public sealed class ReflectionPermissionAttribute : CodeAccessSecurityAttribute
{
public ReflectionPermissionFlag Flags { get; set; }
public bool MemberAccess { get; set; }
public bool ReflectionEmit { get; set; }
public bool RestrictedMemberAccess { get; set; }
public bool TypeInformation { get; set; }
public ReflectionPermissionAttribute(SecurityAction action);
}
}