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