Remove ToUpperInvariant in the 4.5 version of MEF to fix #5740
authorMiguel de Icaza <miguel@gnome.org>
Tue, 19 Jun 2012 19:25:18 +0000 (15:25 -0400)
committerMiguel de Icaza <miguel@gnome.org>
Tue, 19 Jun 2012 19:25:25 +0000 (15:25 -0400)
mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/Hosting/DirectoryCatalog.cs

index bb96f389126129004e6d038b4bface6e960d0ea1..2e980ba8d75d7852a86087dfbf607e7756ca77e7 100644 (file)
@@ -746,8 +746,7 @@ namespace System.ComponentModel.Composition.Hosting
 
         private string[] GetFiles()
         {
-            string[] files = Directory.GetFiles(this._fullPath, this._searchPattern);
-            return Array.ConvertAll<string, string>(files, (file) => file.ToUpperInvariant());
+            return Directory.GetFiles(this._fullPath, this._searchPattern);
         }
 
         private static string GetFullPath(string path)
@@ -757,7 +756,7 @@ namespace System.ComponentModel.Composition.Hosting
                 path = IOPath.Combine(AppDomain.CurrentDomain.BaseDirectory, path);
             }
 
-            return IOPath.GetFullPath(path).ToUpperInvariant();
+            return IOPath.GetFullPath(path);
         }
 
         private void Initialize(string path, string searchPattern)