Removed asserts that no longer work since we're now security transparent.

This commit is contained in:
jfrijters 2008-05-31 10:08:10 +00:00
Родитель 84191f9c40
Коммит 4835307e5e
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -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