You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by ni...@apache.org on 2007/02/17 22:23:16 UTC
svn commit: r508810 - /logging/log4net/trunk/src/Util/SystemInfo.cs
Author: nicko
Date: Sat Feb 17 13:23:15 2007
New Revision: 508810
URL: http://svn.apache.org/viewvc?view=rev&rev=508810
Log:
Fix for LOG4NET-113. 3 argument version of Type.GetType behaves differently to to 2 argument version on Compact Framework.
Modified:
logging/log4net/trunk/src/Util/SystemInfo.cs
Modified: logging/log4net/trunk/src/Util/SystemInfo.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/Util/SystemInfo.cs?view=diff&rev=508810&r1=508809&r2=508810
==============================================================================
--- logging/log4net/trunk/src/Util/SystemInfo.cs (original)
+++ logging/log4net/trunk/src/Util/SystemInfo.cs Sat Feb 17 13:23:15 2007
@@ -678,7 +678,10 @@
{
// Includes explicit assembly name
//LogLog.Debug("SystemInfo: Loading type ["+typeName+"] from global Type");
-#if NETCF_1_0
+
+#if NETCF
+ // In NETCF 2 and 3 arg versions seem to behave differently
+ // https://issues.apache.org/jira/browse/LOG4NET-113
return Type.GetType(typeName, throwOnError);
#else
return Type.GetType(typeName, throwOnError, ignoreCase);