Web Log di Adrian Florea

"You know you've achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away." Antoine de Saint-Exupery
posts - 440, comments - 2715, trackbacks - 3944

My Links

Archives

Post Categories

Image Galleries

.RO Blogs

.RO People

.RO Sites

Blogs

Furls

Links

vinCitori

Bug System.CodeDom.Compiler.Executor?

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:

PermissionSetAttribute è uno pseudo-custom attribute, perciò troviamo InheritanceDemand come flag inheritcheck nella direttiva .permissionset.

Raf? :-)

Print | posted on venerdì 4 marzo 2005 18:07 | Filed Under [ Carillon .NET Bugs? ]

Powered by:
Powered By Subtext Powered By ASP.NET