System.Security.CodeAccessSecurityEngine.CheckSetHelper C# (CSharp) Method

CheckSetHelper() static private method

static private CheckSetHelper ( CompressedStack cs, PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Assembly asm, SecurityAction action ) : void
cs System.Threading.CompressedStack
grants PermissionSet
refused PermissionSet
demands PermissionSet
rmh System.RuntimeMethodHandle
asm System.Reflection.Assembly
action SecurityAction
return void
        internal static void CheckSetHelper(CompressedStack cs,
                                           PermissionSet grants,
                                           PermissionSet refused,
                                           PermissionSet demands,
                                           RuntimeMethodHandle rmh,
                                           Assembly asm,
                                           SecurityAction action)
        {
            if (cs != null)
                cs.CheckSetDemand(demands, rmh);
            else
                CheckSetHelper(grants, refused, demands, rmh, (Object)asm, action, true);
        }

Same methods

CodeAccessSecurityEngine::CheckSetHelper ( PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Object assemblyOrString, SecurityAction action, bool throwException ) : bool

Usage Example

Beispiel #1
0
 internal static void CheckSetHelper(CompressedStack cs, PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandleInternal rmh, RuntimeAssembly asm, SecurityAction action)
 {
     if (cs != null)
     {
         cs.CheckSetDemand(demands, rmh);
         return;
     }
     CodeAccessSecurityEngine.CheckSetHelper(grants, refused, demands, rmh, asm, action, true);
 }
All Usage Examples Of System.Security.CodeAccessSecurityEngine::CheckSetHelper