Permalink
Browse files

BadImageFormatExceptionCas.cs: MS fixed this in 2.0 final (#71861).

svn path=/trunk/mcs/; revision=54359
  • Loading branch information...
1 parent 1e5d18f commit 781310800874609d5225b8eebda2b7f73531ef08 Sebastien Pouliot committed Dec 14, 2005
@@ -124,11 +124,7 @@ public void Throw_NoRestriction ()
[Test]
[PermissionSet (SecurityAction.Deny, Unrestricted = true)]
-#if NET_2_0
- [ExpectedException (typeof (BadImageFormatException))]
-#else
[ExpectedException (typeof (SecurityException))]
-#endif
public void Throw_FullRestriction ()
{
try {
@@ -147,11 +143,7 @@ public void Throw_FullRestriction ()
[Test]
[SecurityPermission (SecurityAction.Deny, ControlEvidence = true)]
-#if NET_2_0
- [ExpectedException (typeof (BadImageFormatException))]
-#else
[ExpectedException (typeof (SecurityException))]
-#endif
public void Throw_GetFusionLog_Fail_ControlEvidence ()
{
try {
@@ -165,11 +157,7 @@ public void Throw_GetFusionLog_Fail_ControlEvidence ()
[Test]
[SecurityPermission (SecurityAction.Deny, ControlPolicy = true)]
-#if NET_2_0
- [ExpectedException (typeof (BadImageFormatException))]
-#else
[ExpectedException (typeof (SecurityException))]
-#endif
public void Throw_GetFusionLog_Fail_ControlPolicy ()
{
try {
@@ -1,3 +1,7 @@
+2005-12-14 Sebastien Pouliot <sebastien@ximian.com>
+
+ * BadImageFormatExceptionCas.cs: MS fixed this in 2.0 final (#71861).
+
2005-12-13 Zoltan Varga <vargaz@gmail.com>
* ArrayTest.cs: Add regression test for #76973.

0 comments on commit 7813108

Please sign in to comment.