[linker] Mark declaring types of nested types resolved from xml descriptors. Fixes...
authorRolf Bjarne Kvinge <rolf@xamarin.com>
Wed, 24 Aug 2016 10:12:48 +0000 (12:12 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Aug 2016 10:12:48 +0000 (12:12 +0200)
commit59260ced5ae1471fac9e50a3c08d3c90a1a3710d
tree879eca1542c098827b407ab7775e72421cecdb51
parent5adec5a68aa412153e00116e8f3236bd32eb8dff
[linker] Mark declaring types of nested types resolved from xml descriptors. Fixes #43658. (#3434)

If the declaring type of a nested type marked by an xml descriptor
is not otherwise marked, the members of the nested type will not
be preserved, because the linker will not process the nested type
(since the parent type isn't marked, MarkStep:InitializeAssembly
will skip it, and thus skip akk its nested types as well).

https://bugzilla.xamarin.com/show_bug.cgi?id=43658
mcs/tools/linker/Mono.Linker.Steps/ResolveFromXmlStep.cs