Imported Upstream version 5.2.0.175

Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-06-07 13:16:24 +00:00
parent 4bdbaf4a88
commit 966bba02bb
8776 changed files with 346420 additions and 149650 deletions

View File

@ -331,9 +331,9 @@ namespace System.Diagnostics
process_name = ProcessName_internal (handle);
/* If process_name is _still_ null, assume the process has exited */
/* If process_name is _still_ null, assume the process has exited or is inaccessible */
if (process_name == null)
throw new InvalidOperationException ("Process has exited, so the requested information is not available.");
throw new InvalidOperationException ("Process has exited or is inaccessible, so the requested information is not available.");
/* Strip the suffix (if it exists) simplistically instead of removing
* any trailing \.???, so we dont get stupid results on sane systems */
@ -849,13 +849,13 @@ namespace System.Diagnostics
}
[Obsolete ("Process.Start is not supported on the current platform.", true)]
public static Process Start(string fileName, string username, SecureString password, string domain)
public static Process Start(string fileName, string userName, SecureString password, string domain)
{
throw new PlatformNotSupportedException ("Process.Start is not supported on the current platform.");
}
[Obsolete ("Process.Start is not supported on the current platform.", true)]
public static Process Start(string fileName, string arguments, string username, SecureString password, string domain)
public static Process Start(string fileName, string arguments, string userName, SecureString password, string domain)
{
throw new PlatformNotSupportedException ("Process.Start is not supported on the current platform.");
}