[mono/mono] cd13a48d: [mcs] Import only forwarder kind of exported types.

"Marek Safar ([email protected])" <[email protected]> Fri, 15 Nov 2013 19:18:53 +0000
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <000001425d339de2-9ed9075e-64dc-41f7-910b-aeea96845ee6-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/mono
  Compare: https://github.com/mono/mono/compare/a0cd023d06cb...cd13a48d06d3

   Commit: cd13a48d06d34b34666389dbac9224b8c4aa9061
   Author: Marek Safar <[email protected]> (marek-safar)
     Date: 2013-11-15 19:13:08 GMT
      URL: https://github.com/mono/mono/commit/cd13a48d06d34b34666389dbac9224b8c4aa9061

[mcs] Import only forwarder kind of exported types.

Changed paths:
  M mcs/mcs/ikvm.cs

Modified: mcs/mcs/ikvm.cs
===================================================================
@@ -124,6 +124,9 @@ void ImportForwardedTypes (MetaType[] types, Namespace targetNamespace)
 			Namespace ns = targetNamespace;
 			string prev_namespace = null;
 			foreach (var t in types) {
+				if (!t.__IsTypeForwarder)
+					continue;
+
 				// IsMissing tells us the type has been forwarded and target assembly is missing 
 				if (!t.__IsMissing)
 					continue;


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches