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/ComponentModel Win32Exception


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

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

Modified Files:
        Win32Exception.cs 
Log Message:


Add the CONFIG_SERIALIZATION option to the profiles.


Index: Win32Exception.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/ComponentModel/Win32Exception.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** Win32Exception.cs   20 Apr 2003 02:57:19 -0000      1.6
--- Win32Exception.cs   26 May 2003 04:41:20 -0000      1.7
***************
*** 54,57 ****
--- 54,58 ----
                        HResult = (int)0x80004005;
                }
+ #if CONFIG_SERIALIZATION
                protected Win32Exception(SerializationInfo info,
                                                                 
StreamingContext context)
***************
*** 60,63 ****
--- 61,65 ----
                        nativeErrorCode = info.GetInt32("NativeErrorCode");
                }
+ #endif
  
                public int NativeErrorCode 
***************
*** 69,72 ****
--- 71,75 ----
                }
  
+ #if CONFIG_SERIALIZATION
                public override void GetObjectData(SerializationInfo info,
                                                                                
   StreamingContext context)
***************
*** 75,78 ****
--- 78,82 ----
                        info.AddValue("NativeErrorCode", nativeErrorCode);
                }
+ #endif
  
        }





reply via email to

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