[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Resources ResourceMan
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Resources ResourceManager.cs,1.12,1.13 |
Date: |
Wed, 16 Apr 2003 02:36:52 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Resources
In directory subversions:/tmp/cvs-serv16262/runtime/System/Resources
Modified Files:
ResourceManager.cs
Log Message:
Remove the bulk of the culture handling if reflection is disabled because there
is no way to load the I18N handlers if reflection is not present.
Index: ResourceManager.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Resources/ResourceManager.cs,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** ResourceManager.cs 16 Apr 2003 03:17:55 -0000 1.12
--- ResourceManager.cs 16 Apr 2003 06:36:50 -0000 1.13
***************
*** 384,387 ****
--- 384,388 ----
protected virtual String GetResourceFileName(CultureInfo culture)
{
+ #if CONFIG_REFLECTION
if(culture == null || culture.LCID == 0x7F)
{
***************
*** 394,397 ****
--- 395,401 ----
return BaseNameField + "." +
culture.Name + ".resources";
}
+ #else
+ return BaseNameField + ".resources";
+ #endif
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Resources ResourceManager.cs,1.12,1.13,
Rhys Weatherley <address@hidden> <=