Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions src/Microsoft.PowerShell.Security/security/AclCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ public SwitchParameter Passthru
/// Returns a newly allocated SACL with no ACEs in it.
/// Free the returned SACL by calling Marshal.FreeHGlobal.
/// </summary>
private IntPtr GetEmptySacl()
private static IntPtr GetEmptySacl()
{
IntPtr pSacl = IntPtr.Zero;
bool ret = true;
Expand Down Expand Up @@ -1246,7 +1246,7 @@ private IntPtr GetSaclWithCapId(string capStr)
/// and the previous state of this privilege. Free the returned token
/// by calling NativeMethods.CloseHandle.
/// </summary>
private IntPtr GetTokenWithEnabledPrivilege(
private static IntPtr GetTokenWithEnabledPrivilege(
string privilege,
NativeMethods.TOKEN_PRIVILEGE previousState)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,7 @@ private void AttemptToImportPkiModule()
_hasAttemptedToLoadPkiModule = true;
}

private string MyGetChildName(string path)
private static string MyGetChildName(string path)
{
// Verify the parameters

Expand Down Expand Up @@ -1919,7 +1919,7 @@ private void DoRemove(X509Certificate2 cert, bool fDeleteKey, bool fMachine, str
/// </summary>
/// <param name="storeHandle">An IntPtr for store handle.</param>
/// <returns>No return.</returns>
private void CommitUserDS(IntPtr storeHandle)
private static void CommitUserDS(IntPtr storeHandle)
{
if (!Security.NativeMethods.CertControlStore(
storeHandle,
Expand Down