System.Security.Permissions.PrincipalPermission.VerifyType C# (CSharp) Method

VerifyType() private method

private VerifyType ( IPermission perm ) : bool
perm IPermission
return bool
        private bool VerifyType(IPermission perm)
        {
            // if perm is null, then obviously not of the same type
            return (perm != null) && (perm.GetType() == GetType());
        }