From 4835307e5e1a8e922fbe8c927e2a2c114acdf21b Mon Sep 17 00:00:00 2001 From: jfrijters Date: Sat, 31 May 2008 10:08:10 +0000 Subject: [PATCH] Removed asserts that no longer work since we're now security transparent. --- runtime/vm.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/runtime/vm.cs b/runtime/vm.cs index a56fec85..1e67a512 100644 --- a/runtime/vm.cs +++ b/runtime/vm.cs @@ -227,7 +227,6 @@ namespace IKVM.Internal messageBox = winForms.GetType("System.Windows.Forms.MessageBox"); } #endif - new ReflectionPermission(ReflectionPermissionFlag.MemberAccess).Assert(); message = String.Format("****** Critical Failure: {1} ******{0}{0}" + "PLEASE FILE A BUG REPORT FOR IKVM.NET WHEN YOU SEE THIS MESSAGE{0}{0}" + (messageBox != null ? "(on Windows you can use Ctrl+C to copy the contents of this message to the clipboard){0}{0}" : "") + @@ -239,7 +238,6 @@ namespace IKVM.Internal x, x != null ? new StackTrace(x, true).ToString() : "", new StackTrace(true)); - CodeAccessPermission.RevertAssert(); if(messageBox != null) { try