23 lines
1.1 KiB
C#
23 lines
1.1 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Security.Permissions
|
|
{
|
|
/// <summary>Specifies the base attribute class for code access security.</summary>
|
|
// Token: 0x0200053D RID: 1341
|
|
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
|
|
[Obsolete("CAS support is not available with Silverlight applications.")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public abstract class CodeAccessSecurityAttribute : SecurityAttribute
|
|
{
|
|
/// <summary>Initializes a new instance of <see cref="T:System.Security.Permissions.CodeAccessSecurityAttribute" /> with the specified <see cref="T:System.Security.Permissions.SecurityAction" />.</summary>
|
|
/// <param name="action">One of the <see cref="T:System.Security.Permissions.SecurityAction" /> values. </param>
|
|
// Token: 0x06003117 RID: 12567 RVA: 0x000A8BB4 File Offset: 0x000A6DB4
|
|
protected CodeAccessSecurityAttribute(SecurityAction action)
|
|
: base(action)
|
|
{
|
|
}
|
|
}
|
|
}
|