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