Enable more Type code
authorMarek Safar <marek.safar@gmail.com>
Fri, 20 Mar 2015 09:38:33 +0000 (10:38 +0100)
committerMarek Safar <marek.safar@gmail.com>
Mon, 2 May 2016 22:08:04 +0000 (00:08 +0200)
mcs/class/referencesource/mscorlib/system/rttype.cs

index a47cdd44e6c1bcea961035f3815c16a53e6e07fe..f132cbc0e367fdac450e2d7468a29528524afb99 100644 (file)
@@ -5233,7 +5233,7 @@ namespace System
 
             return fullName;
         }
-
+#endif
         // This is used by the ToString() overrides of all reflection types. The legacy behavior has the following problems:
         //  1. Use only Name for nested types, which can be confused with global types and generic parameters of the same name.
         //  2. Use only Name for generic parameters, which can be confused with nested types and global types of the same name.
@@ -5271,7 +5271,7 @@ namespace System
                 return typeName;
             }
         }
-
+#if !MONO
         private string GetCachedName(TypeNameKind kind)
         {
             return Cache.GetName(kind);