Mi sembra contraddittorio avere per una classe sealed una security action InheritanceDemand...
Succede così per la classe Executor:
namespace System.CodeDom.Compiler
{
[PermissionSet(SecurityAction.LinkDemand, Name="FullTrust")]
[PermissionSet(SecurityAction.InheritanceDemand, Name="FullTrust")]
public sealed class Executor
{
//
}
}
La prova:
![](http://www.geocities.com/adrian_florea/blog/executor.jpg)
PermissionSetAttribute è uno pseudo-custom attribute, perciò troviamo InheritanceDemand come flag inheritcheck nella direttiva .permissionset.
Raf? :-)