logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject cvs commit: logging-log4net/src/Appender ColoredConsoleAppender.cs
Date Sun, 19 Dec 2004 19:22:14 GMT
nicko       2004/12/19 11:22:14

  Modified:    src/Appender ColoredConsoleAppender.cs
  Log:
  Updates suggested by FxCop.
  Minor naming changes to internal types.
  Perf improvements to type check + type cast code.
  
  Revision  Changes    Path
  1.12      +3 -3      logging-log4net/src/Appender/ColoredConsoleAppender.cs
  
  Index: ColoredConsoleAppender.cs
  ===================================================================
  RCS file: /home/cvs/logging-log4net/src/Appender/ColoredConsoleAppender.cs,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ColoredConsoleAppender.cs	6 Dec 2004 02:20:50 -0000	1.11
  +++ ColoredConsoleAppender.cs	19 Dec 2004 19:22:14 -0000	1.12
  @@ -403,9 +403,9 @@
   			out UInt32 written,
   			IntPtr reserved);
   
  -		//private static readonly UInt32 STD_INPUT_HANDLE = unchecked((UInt32)(-10));
  -		private static readonly UInt32 STD_OUTPUT_HANDLE = unchecked((UInt32)(-11));
  -		private static readonly UInt32 STD_ERROR_HANDLE = unchecked((UInt32)(-12));
  +		//private const UInt32 STD_INPUT_HANDLE = unchecked((UInt32)(-10));
  +		private const UInt32 STD_OUTPUT_HANDLE = unchecked((UInt32)(-11));
  +		private const UInt32 STD_ERROR_HANDLE = unchecked((UInt32)(-12));
   
   		[DllImport("Kernel32.dll", SetLastError=true, CharSet=CharSet.Auto)]
   		private static extern IntPtr GetStdHandle(
  
  
  

Mime
View raw message