* namespace.cs (GetTypeInAssembly): Remove #ifdef GMCS_SOURCE.
authorRaja R Harinath <harinath@hurrynot.org>
Wed, 20 Sep 2006 13:44:28 +0000 (13:44 -0000)
committerRaja R Harinath <harinath@hurrynot.org>
Wed, 20 Sep 2006 13:44:28 +0000 (13:44 -0000)
MCS TypeManager has a corresponding dummy method.

svn path=/trunk/mcs/; revision=65713

mcs/mcs/ChangeLog
mcs/mcs/namespace.cs

index a9bfffca55b22545fbe4d659afd3cff34d234a25..deb3687a8c733ae74af9a53fa9878c9fac795709 100644 (file)
@@ -1,3 +1,8 @@
+2006-09-20  Raja R Harinath  <rharinath@novell.com>
+
+       * namespace.cs (GetTypeInAssembly): Remove #ifdef GMCS_SOURCE.
+       MCS TypeManager has a corresponding dummy method.
+
 2006-09-19  Martin Baulig  <martin@ximian.com>
 
        * expression.cs: Completely merged with the gmcs version.
index a0d7b910b958ee86ca808ca8c23ccd6a30a0ccc3..3f3ccc6c80bbe24fe5109cf05c6564e0851be933 100644 (file)
@@ -120,12 +120,8 @@ namespace Mono.CSharp {
                        if (ta == TypeAttributes.NotPublic ||
                            ta == TypeAttributes.NestedAssembly ||
                            ta == TypeAttributes.NestedFamANDAssem) {
-#if GMCS_SOURCE
                                if (!TypeManager.IsFriendAssembly (t.Assembly))
                                        return null;
-#else
-                               return null;
-#endif
                        }
 
                        return t;