2010-03-02 Rodrigo Kumpera <rkumpera@novell.com>
commitd2f975bee4edc50a91d6d1bdef29732316bfda4c
authorkumpera <kumpera@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Tue, 2 Mar 2010 23:42:03 +0000 (2 23:42 +0000)
committerkumpera <kumpera@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Tue, 2 Mar 2010 23:42:03 +0000 (2 23:42 +0000)
tree79fd387e11bf2ae0e080b8ba4646f6a1e084a38a
parent85af5afcc8db95d8e7202f3be60bd5febba0ef0c
2010-03-02 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (mono_image_get_memberref_token): Extract
* mono_image_add_memberef_row
from this function. The new function receive the parent token
instead of a type.

* reflection.c
* (mono_image_get_methodref_token_for_methodbuilder):
* reflection.c (mono_image_get_ctorbuilder_token): Use new
* function to encode
typebuilders. This make it possible to properly encode generic
type builders since
their unmanaged type don't have generics data while unfinished.

Fixes #583655.

git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mono@152887 e3ebcda4-bce8-0310-ba0a-eca2169e7518
mono/metadata/ChangeLog
mono/metadata/reflection.c