diff options
author | Miguel de Icaza <miguel@gnome.org> | 2012-06-19 23:25:18 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2012-06-19 23:25:25 +0400 |
commit | 4504009221258471a34731455b0b578ac1ca012d (patch) | |
tree | 1a6c325488399e738d8f5e8ba64669be4645cfc2 /mcs/class/System.ComponentModel.Composition.4.5/src | |
parent | 0de52babc60fed2d670d5dba985d62dca0a49ce9 (diff) |
Remove ToUpperInvariant in the 4.5 version of MEF to fix #5740
Diffstat (limited to 'mcs/class/System.ComponentModel.Composition.4.5/src')
-rw-r--r-- | mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/Hosting/DirectoryCatalog.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/Hosting/DirectoryCatalog.cs b/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/Hosting/DirectoryCatalog.cs index bb96f389126..2e980ba8d75 100644 --- a/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/Hosting/DirectoryCatalog.cs +++ b/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/Hosting/DirectoryCatalog.cs @@ -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) |