2003-09-07 Dick Porter <dick@ximian.com>
authorDick Porter <dick@acm.org>
Tue, 7 Oct 2003 13:28:14 +0000 (13:28 -0000)
committerDick Porter <dick@acm.org>
Tue, 7 Oct 2003 13:28:14 +0000 (13:28 -0000)
* Temporary workaround for bug 43567, so that Npgsql at least
can run.

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

mcs/class/corlib/System.Resources/ChangeLog
mcs/class/corlib/System.Resources/ResourceManager.cs

index 7c94a0fa611d250aa3ada8c8055190d7b05b3881..2201d913013e44a89b95e64ce274e4c83f28be5b 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-07  Dick Porter  <dick@ximian.com>
+
+       * Temporary workaround for bug 43567, so that Npgsql at least
+       can run.
+
 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * ResourceManager.cs: fixed infinite loop when the resource is not
index 43b6806b9eb24cae3e7a646271448ec79c9bd4c2..1f7182547fed8d3065e566bd9c97b72ed1c99316 100644 (file)
@@ -49,7 +49,9 @@ namespace System.Resources
                        
                        BaseNameField = resourceSource.FullName;
                        MainAssembly = resourceSource.Assembly;
-                       resourceSetType = resourceSource;
+
+                       /* Temporary workaround for bug 43567 */
+                       resourceSetType = typeof(ResourceSet);
                        neutral_culture = GetNeutralResourcesLanguage(MainAssembly);
                }