[Mono-list] RE: Environment.SpecialFolder

Piers Haken piersh@friskit.com
Fri, 8 Mar 2002 21:09:37 -0800

Good catch Nick. It's wrong because SpecialFolder is a nestedType and I
didn't add support for nestedTypes yet (there's only 3 in mscorlib). The
xml looks like this:

<namespace name="System">
    <class name="Environment">
        <nestedType name="SpecialFolder"/>
    <enum name="SpecialFolder">

Which is 'right' it's just that SpecialFolder is referenced as an
indirection from inside the System.Environment class.


-----Original Message-----
From: Nick Drochak [mailto:ndrochak@gol.com] 
Sent: Friday, March 08, 2002 3:39 PM
To: Piers Haken
Cc: 'Mono Hackers List (E-mail)'
Subject: Environment.SpecialFolder


CorCompare has highlighted a funky enum in corlib's System namespace.
The SpecialFolder enum is actually called Environment.SpecialFolder.
It's not in the System.Environment namespace, however.

I noticed this because the MSDN doc link on this enum on the class
status page is "broken".

So in CorCompare we are not getting the correct name for the item in
every case. Do you want to look and see if you can find a fix? I wonder
if only enums can be named with a "." in them?

Nick D.