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 2004/06/01 19:54:05 UTC
cvs commit: logging-log4net/src/Util NativeError.cs
nicko 2004/06/01 10:54:05
Modified: src/Util NativeError.cs
Log:
Sealed NativeError class
Revision Changes Path
1.6 +2 -2 logging-log4net/src/Util/NativeError.cs
Index: NativeError.cs
===================================================================
RCS file: /home/cvs/logging-log4net/src/Util/NativeError.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- NativeError.cs 28 May 2004 21:30:02 -0000 1.5
+++ NativeError.cs 1 Jun 2004 17:54:05 -0000 1.6
@@ -31,7 +31,7 @@
/// </summary>
/// <author>Nicko Cadell</author>
/// <author>Gert Driesen</author>
- public class NativeError
+ public sealed class NativeError
{
#region Protected Instance Constructors
@@ -41,7 +41,7 @@
/// </summary>
/// <param name="number">The number of the native error.</param>
/// <param name="message">The message of the native error.</param>
- protected NativeError(int number, string message)
+ private NativeError(int number, string message)
{
m_number = number;
m_message = message;