3 instantiations of SafeUserTokenHandle
System (3)
compmod\system\codedom\compiler\CompilerParameters.cs (1)
317userToken = new SafeUserTokenHandle(value, false);
compmod\system\codedom\compiler\Executor.cs (2)
94return ExecWaitWithCapture(new SafeUserTokenHandle(userToken, false), cmd, Environment.CurrentDirectory, tempFiles, ref outputName, ref errorName, null); 103return ExecWaitWithCapture(new SafeUserTokenHandle(userToken, false), cmd, Environment.CurrentDirectory, tempFiles, ref outputName, ref errorName, null);
7 references to SafeUserTokenHandle
System (7)
compmod\microsoft\win32\safehandles\SafeUserTokenHandle.cs (1)
44internal extern static bool DuplicateTokenEx(SafeHandle hToken, int access, NativeMethods.SECURITY_ATTRIBUTES tokenAttributes, int impersonationLevel, int tokenType, out SafeUserTokenHandle hNewToken);
compmod\system\codedom\compiler\CompilerParameters.cs (2)
53private SafeUserTokenHandle userToken; 321internal SafeUserTokenHandle SafeUserToken {
compmod\system\codedom\compiler\Executor.cs (4)
111internal static int ExecWaitWithCapture(SafeUserTokenHandle userToken, string cmd, string currentDir, TempFileCollection tempFiles, ref string outputName, ref string errorName, string trueCmdLine) { 137private static unsafe int ExecWaitWithCaptureUnimpersonated(SafeUserTokenHandle userToken, string cmd, string currentDir, TempFileCollection tempFiles, ref string outputName, ref string errorName, string trueCmdLine) { 160SafeUserTokenHandle primaryToken = null; 240success = SafeUserTokenHandle.DuplicateTokenEx(