[sre] Handle typeref tokens in fixup_method (Fixes #58421)
authorAleksey Kliger <aleksey@xamarin.com>
Wed, 26 Jul 2017 23:37:20 +0000 (19:37 -0400)
committerAleksey Kliger <aleksey@xamarin.com>
Thu, 27 Jul 2017 15:00:10 +0000 (11:00 -0400)
commit0054c555b33184f0930d17bd1e4a575e40aa43ec
tree2032b24c8309556c521d94b43b15381f1d166f31
parentdc4c79a52f60b2657fb99fa3cf4c44efe2ee350a
[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