[Mono-bugs] [Bug 655656] System.Environment.GetFolderPath not fully supported in Mono 2.8.1

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 28 01:35:23 EST 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=655656#c3


Steve Lessard <s_lessard at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
       InfoProvider|s_lessard at yahoo.com         |

--- Comment #3 from Steve Lessard <s_lessard at yahoo.com> 2011-02-28 06:35:21 UTC ---
With Mono 2.8.2 I still repro the ArgumentException, but with Mono 2.10.1 I
cannot repro the ArgumentException. New results from Mono 2.10.1 are pasted
below. Note the unhandled NullReferenceException that comes from C# REPL
itself.



System.Environment.Version = 4.0.30319.1
Name                       Value     Result
Desktop                    0         /Users/slessard/Desktop
Programs                   2         
Personal                   5         /Users/slessard
Personal                   5         /Users/slessard
Favorites                  6         /Users/slessard/Library/Favorites
Startup                    7         
Recent                     8         
SendTo                     9         
StartMenu                  11        
MyMusic                    13        /Users/slessard/Music
MyVideos                   14        /Users/slessard/Videos
DesktopDirectory           16        /Users/slessard/Desktop
MyComputer                 17        
NetworkShortcuts           19        
Fonts                      20        /Users/slessard/Library/Fonts
Templates                  21        /Users/slessard/Templates
CommonStartMenu            22        
CommonPrograms             23        
CommonStartup              24        
CommonDesktopDirectory     25        
ApplicationData            26        /Users/slessard/.config
PrinterShortcuts           27        
LocalApplicationData       28        /Users/slessard/.local/share
InternetCache              32        /Users/slessard/Library/Caches
Cookies                    33        
History                    34        
CommonApplicationData      35        /usr/share
Windows                    36        
System                     37        
ProgramFiles               38        /Applications
MyPictures                 39        /Users/slessard/Pictures
UserProfile                40        
SystemX86                  41        
ProgramFilesX86            42        
CommonProgramFiles         43        
CommonProgramFilesX86      44        
CommonTemplates            45        /usr/share/templates
CommonDocuments            46        
CommonAdminTools           47        
AdminTools                 48        
CommonMusic                53        
CommonPictures             54        
CommonVideos               55        
Resources                  56        
LocalizedResources         57        
CommonOemLinks             58        
CDBurning                  59        

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
  at Mono.CSharpShell+<ExecuteSources>c__AnonStorey0.<>m__1 (Boolean p)
[0x00000] in <filename unknown>:0 
  at Mono.CSharpShell.ReadEvalPrintLoopWith (Mono.ReadLiner readline) [0x00000]
in <filename unknown>:0 
  at Mono.CSharpShell.ExecuteSources (IEnumerable`1 sources, Boolean
ignore_errors) [0x00000] in <filename unknown>:0

-- 
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.


More information about the mono-bugs mailing list