public static void Log2(string text)
 {
     NamedPermissionSet p = new NamedPermissionSet("foo");
     p.Assert();
 }
 public void B()
 {
     NamedPermissionSet s = new NamedPermissionSet("LocalIntranet", System.Security.Permissions.PermissionState.Unrestricted);
     s.Assert();
 }