mono_declsec_flags_from_assembly
| assembly | The assembly for which we want the declarative security flags. |
mono_declsec_flags_from_class
| klass | The class for which we want the declarative security flags. |
MonoClass structure as this will get
called very often (at least for each method).mono_declsec_flags_from_method
| method | The method for which we want the declarative security flags. |
MonoMethod size down we do not cache the declarative security flags
(except for the stack modifiers which are kept in the MonoJitInfo structure)mono_declsec_get_assembly_action
mono_declsec_get_class_action
mono_declsec_get_demands
FALSE.mono_declsec_get_inheritdemands_class
| klass | The inherited class - this is the class that provides the security check (attributes) |
| demands |
TRUE if inheritance demands (any kind) are present, FALSE otherwise.
InheritanceDemand, NonCasInheritanceDemand and InheritanceDemandChoice (2.0).
Don't use the content of actions if the function return FALSE.mono_declsec_get_inheritdemands_method
| actions | InheritanceDemand, NonCasInheritanceDemand and InheritanceDemandChoice (2.0). |
FALSE.mono_declsec_get_linkdemands
| actions | LinkDemand, NonCasLinkDemand and LinkDemandChoice (2.0). |
FALSE.