April 2002
Intermediate to advanced
816 pages
20h 56m
English
Beyond simply protecting data your application uses, there are some special cases where you may end up executing code that you didn't intend to execute. Those special cases include the following:
LinkDemands and inheritance
Virtual, internal methods
Delegates and stack walks
Loading assemblies on behalf of other code
Exceptions and filters
Race conditions
It is of the utmost importance to remember that LinkDemands trigger when a method is JITted, not while a method is actually executing. Thus, applying LinkDemands to interfaces, classes, and virtual methods has a big caveat. If there is an inheritance hierarchy where LinkDemands are not applied uniformly for a given method, malicious ...
Read now
Unlock full access