Security transparent code should not be responsible for verifying the security of an operation, and therefore should not demand permissions. Any code which is performing security checks, such as security demands, should be safe-critical instead.
Satisfying a LinkDemand is a security sensitive operation which can cause unintentional elevation of privilege. Security transparent code must not satisfy LinkDemands, since it is not subject to the same security audit requirements as security critical code. Transparent methods is security rule set level 1 assemblies will cause all LinkDemands they satisfy to be converted to full demands at runtime, which can cause performance problems. In security rule set level 2 assemblies, transparent methods will fail to JIT if they attempt to satisfy a LinkDemand.
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.