|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Security.Permissions
{
#if NET
[Obsolete(Obsoletions.CodeAccessSecurityMessage, DiagnosticId = Obsoletions.CodeAccessSecurityDiagId, UrlFormat = Obsoletions.SharedUrlFormat)]
#endif
public sealed partial class TypeDescriptorPermission : CodeAccessPermission, IUnrestrictedPermission
{
public TypeDescriptorPermission(PermissionState state) { }
public TypeDescriptorPermission(TypeDescriptorPermissionFlags flag) { }
public TypeDescriptorPermissionFlags Flags { get; set; }
public override IPermission Copy() { return this; }
public override void FromXml(SecurityElement securityElement) { }
public override IPermission Intersect(IPermission target) { return default(IPermission); }
public override bool IsSubsetOf(IPermission target) { return false; }
public bool IsUnrestricted() { return false; }
public override SecurityElement ToXml() { return default(SecurityElement); }
public override IPermission Union(IPermission target) { return default(IPermission); }
}
}
|