mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Clean up '#if CORE' - use SecurityZone from CoreFX (#4368)
Make `System.Management.Automation references` to package `System.Security.Permissions`, which brings back `SecurityZone` and `System.Security.Policy.Zone`.
This commit is contained in:
@@ -27,11 +27,6 @@ using Token = System.Management.Automation.Language.Token;
|
||||
using Microsoft.PowerShell.Telemetry.Internal;
|
||||
#endif
|
||||
|
||||
#if CORECLR
|
||||
// Use stub for SecurityZone.
|
||||
using Microsoft.PowerShell.CoreClr.Stubs;
|
||||
#endif
|
||||
|
||||
//
|
||||
// Now define the set of commands for manipulating modules.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user