AllowPartiallyTrustedCallersAttribute

From: Allen Jones (agj@bigfoot.com)
Date: 03/23/03


From: "Allen Jones" <agj@bigfoot.com>
Date: Sun, 23 Mar 2003 21:03:00 -0000


Hi,

I read that the absence of the AllowParitallyTrustedCallersAttribute results
in an implicit FullTrust LinkDemand being placed on all public and protected
members of accessible types.

I was hoping somebody could confirm for me that it was the responsibility of
the CLR to implement these demands, and not the responsibility of the
individual language compilers? If so, does the CLR actually generate the
code for each demand during JIT compilation, or is it a simple logic based
check - i.e. the AllowParitallyTrustedCallersAttribute is not defined, so I
must enforce this demand?

Regards
Allen