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

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

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security/Policy Hash.


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security/Policy Hash.cs,1.1,1.2 PolicyException.cs,1.1,1.2
Date: Mon, 26 May 2003 00:41:24 -0400

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

Modified Files:
        Hash.cs PolicyException.cs 
Log Message:


Add the CONFIG_SERIALIZATION option to the profiles.


Index: Hash.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/Policy/Hash.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** Hash.cs     22 Apr 2003 04:43:34 -0000      1.1
--- Hash.cs     26 May 2003 04:41:21 -0000      1.2
***************
*** 30,34 ****
  
  [Serializable]
! public sealed class Hash : ISerializable
  {
        // Internal state.
--- 30,37 ----
  
  [Serializable]
! public sealed class Hash
! #if CONFIG_SERIALIZATION
!       : ISerializable
! #endif
  {
        // Internal state.
***************
*** 47,50 ****
--- 50,54 ----
                                this.assembly = assembly;
                        }
+ #if CONFIG_SERIALIZATION
        [TODO]
        internal Hash(SerializationInfo info, StreamingContext context)
***************
*** 52,55 ****
--- 56,60 ----
                                // TODO
                        }
+ #endif
  
        // Get the MD5 hash value for the assembly.
***************
*** 95,98 ****
--- 100,105 ----
                        }
  
+ #if CONFIG_SERIALIZATION
+ 
        // Implement the ISerialization interface.
        [TODO]
***************
*** 101,104 ****
--- 108,113 ----
                                // TODO
                        }
+ 
+ #endif
  
        // Convert this object into a string.

Index: PolicyException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/Policy/PolicyException.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** PolicyException.cs  22 Apr 2003 04:43:34 -0000      1.1
--- PolicyException.cs  26 May 2003 04:41:21 -0000      1.2
***************
*** 37,43 ****
--- 37,45 ----
        public PolicyException(String msg, Exception inner)
                        : base(msg, inner) {}
+ #if CONFIG_SERIALIZATION
        protected PolicyException(SerializationInfo info,
                                                          StreamingContext 
context)
                        : base(info, context) {}
+ #endif
  
        // Get the default message to use for this exception type.





reply via email to

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