https://bugzilla.novell.com/show_bug.cgi?id=333740

           Summary: System.Environment.GetEnvironmentVariables doesn't
                    return all environment variables
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: i386
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          Found By: ---


Description of Problem:
System.Environment.GetEnvironmentVariables doesn't 
return all environment variables

Steps to reproduce the problem:
Environment.SetEnvironmentVariable("TestName", "TestValue");
System.Collections.IDictionary props = Environment.GetEnvironmentVariables();
Console.Write("GetEnvironmentVariable[");
Console.Write(Environment.GetEnvironmentVariable("TestName"));
Console.WriteLine("][" + props["TestName"] + "]");


Actual Results:
GetEnvironmentVariable[TestValue][]

Expected Results:
GetEnvironmentVariable[TestValue][TestValue]


How often does this happen? 
Always


Additional Information:
works correctly on linux


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to