[sre] Handle typeref tokens in fixup_method (Fixes #58421)
commit287f4303f3b789431d2da5b5570e97d7db770567
authorAleksey Kliger <aleksey@xamarin.com>
Wed, 26 Jul 2017 23:37:20 +0000 (26 19:37 -0400)
committerAleksey Kliger <aleksey@xamarin.com>
Thu, 27 Jul 2017 22:07:27 +0000 (27 18:07 -0400)
tree2667240a9005d79aa6d83f342cd940e9677c614a
parent48d6bff3ae99830416693a737ac219b2fc8cfbb3
[sre] Handle typeref tokens in fixup_method (Fixes #58421)

This may occur if there are two AssemblyBuilders in progress and one of them
refers to a TypeBuilder from the other.

https://bugzilla.xamarin.com/show_bug.cgi?id=58421
mono/metadata/sre-save.c