2003-02-26 Zoltan Varga <vargaz@freemail.hu>
authorZoltan Varga <vargaz@gmail.com>
Wed, 26 Feb 2003 14:40:21 +0000 (14:40 -0000)
committerZoltan Varga <vargaz@gmail.com>
Wed, 26 Feb 2003 14:40:21 +0000 (14:40 -0000)
commit260fcb6b93f6c878e6d5ecdb5f859691036b9c10
treeb7bb1629d01f73b61a54cde8760a509fb23f71ed
parent191a65c1ec45e3966cea95ea3447120aef5e4b11
2003-02-26  Zoltan Varga  <vargaz@freemail.hu>

* TypeBuilder.cs (DefineInitializedData): Removed unnecessary assignments.

* ModuleBuilder.cs (DefineInitializedData): Do not call
TypeBuilder::DefineInitializedData since that would mean defining a
nested type of the global type, which is wrong. Instead define a
new public type as MS does.

* ModuleBuilder.cs (DefineUninitializedData): Ditto.

svn path=/trunk/mcs/; revision=11999
mcs/class/corlib/System.Reflection.Emit/ChangeLog
mcs/class/corlib/System.Reflection.Emit/ModuleBuilder.cs
mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs