Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/System.Management.Automation/CoreCLR/CorePsStub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ namespace System.Management.Automation.Security
/// <summary>
/// Application white listing security policies only affect Windows OSs.
/// </summary>
internal sealed class SystemPolicy
public sealed class SystemPolicy
{
private SystemPolicy() { }

Expand All @@ -455,7 +455,7 @@ internal static void LogWDACAuditMessage(
/// <summary>
/// Gets the system lockdown policy.
/// </summary>
/// <remarks>Always return SystemEnforcementMode.None in CSS (trusted)</remarks>
/// <remarks>Always return SystemEnforcementMode.None on non-Windows platforms.</remarks>
public static SystemEnforcementMode GetSystemLockdownPolicy()
{
return SystemEnforcementMode.None;
Expand All @@ -464,7 +464,7 @@ public static SystemEnforcementMode GetSystemLockdownPolicy()
/// <summary>
/// Gets lockdown policy as applied to a file.
/// </summary>
/// <remarks>Always return SystemEnforcementMode.None in CSS (trusted)</remarks>
/// <remarks>Always return SystemEnforcementMode.None on non-Windows platforms.</remarks>
public static SystemEnforcementMode GetLockdownPolicy(string path, System.Runtime.InteropServices.SafeHandle handle)
{
return SystemEnforcementMode.None;
Expand Down Expand Up @@ -493,7 +493,7 @@ public static SystemScriptFileEnforcement GetFilePolicyEnforcement(
/// <summary>
/// How the policy is being enforced.
/// </summary>
internal enum SystemEnforcementMode
public enum SystemEnforcementMode
{
/// Not enforced at all
None = 0,
Expand Down
Loading