dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/System/Diagnostics EventLogEntry.cs,


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System/Diagnostics EventLogEntry.cs,1.2,1.3
Date: Mon, 26 May 2003 00:41:22 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/System/Diagnostics
In directory subversions:/tmp/cvs-serv26070/System/Diagnostics

Modified Files:
        EventLogEntry.cs 
Log Message:


Add the CONFIG_SERIALIZATION option to the profiles.


Index: EventLogEntry.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Diagnostics/EventLogEntry.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** EventLogEntry.cs    25 May 2003 22:56:21 -0000      1.2
--- EventLogEntry.cs    26 May 2003 04:41:20 -0000      1.3
***************
*** 31,35 ****
  [DesignTimeVisible(false)]
  [ToolboxItem(false)]
! public sealed class EventLogEntry : Component, ISerializable
  {
        // Internal state.
--- 31,38 ----
  [DesignTimeVisible(false)]
  [ToolboxItem(false)]
! public sealed class EventLogEntry : Component
! #if CONFIG_SERIALIZATION
!       , ISerializable
! #endif
  {
        // Internal state.
***************
*** 50,53 ****
--- 53,57 ----
        // Constructor.
        internal EventLogEntry() {}
+ #if CONFIG_SERIALIZATION
        internal EventLogEntry(SerializationInfo info, StreamingContext context)
                        {
***************
*** 56,59 ****
--- 60,64 ----
                                throw new NotImplementedException();
                        }
+ #endif
  
        // Event log properties.
***************
*** 271,274 ****
--- 276,280 ----
                        }
  
+ #if CONFIG_SERIALIZATION
        // Implement the ISerializable interface.
        void ISerializable.GetObjectData(SerializationInfo info,
***************
*** 279,282 ****
--- 285,289 ----
                                throw new NotImplementedException();
                        }
+ #endif
  
  }; // class EventLogEntry





reply via email to

[Prev in Thread] Current Thread [Next in Thread]