all groups > dotnet clr > september 2003 >
You're in the

dotnet clr

group:

Will TypeBuilder::DefineNestedEnum() ever appear again?


Will TypeBuilder::DefineNestedEnum() ever appear again? brikelly NO[at]SPAM hotmail.com
9/24/2003 1:36:43 PM
dotnet clr:
Hi all,

I'm making heavy use of System::Reflection::Emit classes
right now, and I need to create an Enum within a class.

However, it appears that I can only create Enums at the
module level with ModuleBuilder::DefineEnum().

After an hour of MSDN and Google searching, I've found
year-old references to the non-existent method
TypeBuilder::DefineNestedEnum(). Is this method going
to reappear in .NET anytime soon? If not, I'm going
to have to promote all my nested Enums to the module
level and do some nasty name-mangling to prevent conflicts.

Thanks in advance for any information you can provide!

Will TypeBuilder::DefineNestedEnum() ever appear again? Alicia Li[MSFT]
9/26/2003 3:18:55 PM
Brian,
We have exchanged email offline. Post the answer here for
others who may be interested in this.

TypeBuilder::DefineNestedEnum()is on schedule to be
supported in V2.0 release.

Thanks
Alicia

This posting is provided "AS IS" with no warranties, and
confers no rights.

Please do not send e-mail directly to this alias. This
alias is for newsgroup purposes only.

[quoted text, click to view]
AddThis Social Bookmark Button