[linker]: Fix my previous commit.
commitedbc59e9dbc6c92d8d0dc54927e63d9a8362f6fd
authorMartin Baulig <martin.baulig@xamarin.com>
Fri, 25 Oct 2013 21:56:59 +0000 (25 23:56 +0200)
committerSebastien Pouliot <sebastien@xamarin.com>
Thu, 31 Oct 2013 14:34:20 +0000 (31 10:34 -0400)
tree48eb878340d17665e814f00a57d1d20907e51358
parent96a201f7fe81583e494bfaf647055d4f8acf64d3
[linker]: Fix my previous commit.

We need to resolve all the TypeReferences before we update their scopes.
After setting the scope to null, calling Resolve() on a nested child would
crash.
mcs/tools/linker/Mono.Linker.Steps/SweepStep.cs