runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Corefx member named ProcessStartInfo.Environment instead of EnvironmentVariables

Open ryaneliseislalom opened this issue 11 years ago • 1 comments

Steps: Inspect signature for System.Diagnostics.ProcessStartInfo.Environment

Expected result: Existing .NET framework signature looks like this: public StringDictionary EnvironmentVariables { get; } based on https://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.environmentvariables(v=vs.110).aspx

Actual result: corefx ProcessStartInfo looks like this: public IDictionary<string, string> Environment

Granted we probably want to use generic types for the return, so IDictionary is good. Even so, the name of the member should still be called EnvironmentVariables instead of Environment.

ryaneliseislalom avatar Jun 23 '15 02:06 ryaneliseislalom

The .NET Framework has both: https://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.environment(v=vs.110).aspx

stephentoub avatar Jun 23 '15 02:06 stephentoub