Author: bodewig Date: Fri Sep 16 09:37:47 2011 New Revision: 1171474 URL: http://svn.apache.org/viewvc?rev=1171474&view=rev Log: comment out crefs to UniversalDateTime for .NET 1.0 Modified: logging/log4net/trunk/src/Appender/RollingFileAppender.cs Modified: logging/log4net/trunk/src/Appender/RollingFileAppender.cs URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/Appender/RollingFileAppender.cs?rev=1171474&r1=1171473&r2=1171474&view=diff ============================================================================== --- logging/log4net/trunk/src/Appender/RollingFileAppender.cs (original) +++ logging/log4net/trunk/src/Appender/RollingFileAppender.cs Fri Sep 16 09:37:47 2011 @@ -242,8 +242,10 @@ namespace log4net.Appender /// /// Gets or sets the strategy for determining the current date and time. The default /// implementation is to use LocalDateTime which internally calls through to DateTime.Now. +#if !NET_1_0 /// DateTime.UtcNow may be used on frameworks newer than .NET 1.0 by specifying /// . +#endif /// /// /// An implementation of the interface which returns the current date and time. @@ -254,8 +256,11 @@ namespace log4net.Appender /// /// /// There are two built strategies for determining the current date and time, - /// and . - /// + /// +#if !NET_1_0 + /// and . +#endif + /// /// /// The default strategy is . ///