Add SecurityZone stub
authordanmosemsft <danmose@microsoft.com>
Mon, 17 Apr 2017 19:15:07 +0000 (12:15 -0700)
committerdanmosemsft <danmose@microsoft.com>
Mon, 17 Apr 2017 19:15:07 +0000 (12:15 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/742d3773b668057f216f3ef7b3bbe6a801bee70d

src/coreclr/src/mscorlib/shared/System/Security/SecurityException.cs

index 86e3cd4..9010652 100644 (file)
@@ -62,5 +62,16 @@ namespace System.Security
         public object PermitOnlySetInstance { get; set; }
         public string RefusedSet { get; set; }
         public string Url { get; set; }
+        public SecurityZone Zone { get; set; }
+    }
+
+    public enum SecurityZone
+    {
+        MyComputer   = 0,
+        Intranet     = 1,
+        Trusted      = 2,
+        Internet     = 3,
+        Untrusted    = 4,
+        NoZone       = -1
     }
 }