Author: bodewig
Date: Sun Mar 29 17:09:34 2015
New Revision: 1669932

URL: http://svn.apache.org/r1669932
Log:
allow compilation on .NET 2.0

Modified:
    logging/log4net/trunk/src/log4net.Tests/Context/LogicalThreadContextTest.cs

Modified: 
logging/log4net/trunk/src/log4net.Tests/Context/LogicalThreadContextTest.cs
URL: 
http://svn.apache.org/viewvc/logging/log4net/trunk/src/log4net.Tests/Context/LogicalThreadContextTest.cs?rev=1669932&r1=1669931&r2=1669932&view=diff
==============================================================================
--- logging/log4net/trunk/src/log4net.Tests/Context/LogicalThreadContextTest.cs 
(original)
+++ logging/log4net/trunk/src/log4net.Tests/Context/LogicalThreadContextTest.cs 
Sun Mar 29 17:09:34 2015
@@ -17,6 +17,7 @@
 //
 #endregion
 
+#if FRAMEWORK_4_5_OR_ABOVE
 using System;
 using System.Threading.Tasks;
 using System.Linq;
@@ -31,7 +32,6 @@ using NUnit.Framework;
 
 namespace log4net.Tests.Context
 {
-#if FRAMEWORK_4_5_OR_ABOVE
        /// <summary>
        /// Used for internal unit testing the <see 
cref="LogicalThreadContext"/> class.
        /// </summary>
@@ -340,5 +340,5 @@ namespace log4net.Tests.Context
                        }
                }
        }
+}
 #endif
-}
\ No newline at end of file


Reply via email to