2004-04-02 Dick Porter <dick@ximian.com>
[mono.git] / mcs / class / corlib / System.Security / CodeAccessPermission.cs
index 7042078e641ef2d4980de21344b348f386da9618..ce56ae221659089b29e859714f6017f0a542b941 100755 (executable)
@@ -39,7 +39,7 @@ namespace System.Security {
                {
                        IBuiltInPermission perm = (this as IBuiltInPermission);
                        if (perm == null)
-                               throw new SecurityException (Locale.GetText ("Not a IBuiltInPermission and Demand isn't overridden"));
+                               return; // not sure about this :(
 
                        // TODO : Loop the stack
                        switch (perm.GetTokenIndex ()) {