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 AppDomain.cs,1.18,1.19


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System AppDomain.cs,1.18,1.19 AppDomainUnloadedException.cs,1.7,1.8 ApplicationException.cs,1.8,1.9 ArgumentException.cs,1.8,1.9 ArgumentNullException.cs,1.6,1.7ArgumentOutOfRangeException.cs,1.8,1.9 ArithmeticException.cs,1.6,1.7ArrayTypeMismatchException.cs,1.6,1.7 BadImageFormatException.cs,1.8,1.9 CannotUnloadAppDomainException.cs,1.7,1.8 ContextMarshalException.cs,1.1,1.2 DBNull.cs,1.6,1.7 Delegate.cs,1.12,1.13 DivideByZeroException.cs,1.6,1.7 DllNotFoundException.cs,1.1,1.2DuplicateWaitObjectException.cs,1.6,1.7 EntryPointNotFoundException.cs,1.7,1.8 Exception.cs,1.21,1.22 ExecutionEngineException.cs,1.6,1.7 FieldAccessException.cs,1.7,1.8 FormatException.cs,1.6,1.7 IndexOutOfRangeException.cs,1.6,1.7 IntPtr.cs,1.8,1.9 InvalidCastException.cs,1.6,1.7 InvalidOperationException.cs,1.6,1.7 InvalidProgramException.cs,1.6,1.7 MemberAccessException.cs,1.7,1.8 MethodAccessException.cs,1.7,1.8 MissingFieldException.cs,1.8,1.9 MissingMemberException.cs,1.9,1.10 MissingMethodException.cs,1.8,1.9 MulticastDelegate.cs,1.6,1.7 MulticastNotSupportedException.cs,1.5,1.6 NotFiniteNumberException.cs,1.7,1.8 NotImplementedException.cs,1.4,1.5 NotSupportedException.cs,1.6,1.7 NullReferenceException.cs,1.6,1.7 ObjectDisposedException.cs,1.6,1.7 OutOfMemoryException.cs,1.7,1.8 OverflowException.cs,1.6,1.7 PlatformNotSupportedException.cs,1.1,1.2 RankException.cs,1.6,1.7 RuntimeFieldHandle.cs,1.7,1.8 RuntimeMethodHandle.cs,1.8,1.9 RuntimeTypeHandle.cs,1.7,1.8 StackOverflowException.cs,1.6,1.7 SystemException.cs,1.10,1.11 TypeInitializationException.cs,1.7,1.8 TypeLoadException.cs,1.8,1.9 TypeUnloadedException.cs,1.7,1.8 UIntPtr.cs,1.10,1.11 UnauthorizedAccessException.cs,1.6,1.7 WeakReference.cs,1.3,1.4
Date: Mon, 26 May 2003 00:41:25 -0400

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

Modified Files:
        AppDomain.cs AppDomainUnloadedException.cs 
        ApplicationException.cs ArgumentException.cs 
        ArgumentNullException.cs ArgumentOutOfRangeException.cs 
        ArithmeticException.cs ArrayTypeMismatchException.cs 
        BadImageFormatException.cs CannotUnloadAppDomainException.cs 
        ContextMarshalException.cs DBNull.cs Delegate.cs 
        DivideByZeroException.cs DllNotFoundException.cs 
        DuplicateWaitObjectException.cs EntryPointNotFoundException.cs 
        Exception.cs ExecutionEngineException.cs 
        FieldAccessException.cs FormatException.cs 
        IndexOutOfRangeException.cs IntPtr.cs InvalidCastException.cs 
        InvalidOperationException.cs InvalidProgramException.cs 
        MemberAccessException.cs MethodAccessException.cs 
        MissingFieldException.cs MissingMemberException.cs 
        MissingMethodException.cs MulticastDelegate.cs 
        MulticastNotSupportedException.cs NotFiniteNumberException.cs 
        NotImplementedException.cs NotSupportedException.cs 
        NullReferenceException.cs ObjectDisposedException.cs 
        OutOfMemoryException.cs OverflowException.cs 
        PlatformNotSupportedException.cs RankException.cs 
        RuntimeFieldHandle.cs RuntimeMethodHandle.cs 
        RuntimeTypeHandle.cs StackOverflowException.cs 
        SystemException.cs TypeInitializationException.cs 
        TypeLoadException.cs TypeUnloadedException.cs UIntPtr.cs 
        UnauthorizedAccessException.cs WeakReference.cs 
Log Message:


Add the CONFIG_SERIALIZATION option to the profiles.


Index: AppDomain.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/AppDomain.cs,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** AppDomain.cs        25 Apr 2003 01:26:17 -0000      1.18
--- AppDomain.cs        26 May 2003 04:41:21 -0000      1.19
***************
*** 252,255 ****
--- 252,259 ----
                        }
  
+ #endif // !ECMA_COMPAT
+ 
+ #if CONFIG_REMOTING
+ 
        // Create a COM object instance using the local activator logic.
        public ObjectHandle CreateComInstanceFrom
***************
*** 266,273 ****
                                        (assemblyName, typeName, hashValue, 
hashAlgorithm);
                        }
- 
- #endif // !ECMA_COMPAT
- 
- #if CONFIG_REMOTING
  
        // Create an instance of an assembly and unwrap its handle.
--- 270,273 ----

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

Index: ApplicationException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/ApplicationException.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** ApplicationException.cs     7 Apr 2003 04:22:51 -0000       1.8
--- ApplicationException.cs     26 May 2003 04:41:21 -0000      1.9
***************
*** 36,40 ****
        public ApplicationException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected ApplicationException(SerializationInfo info,
                                                                   
StreamingContext context)
--- 36,40 ----
        public ApplicationException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected ApplicationException(SerializationInfo info,
                                                                   
StreamingContext context)

Index: ArgumentException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/ArgumentException.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** ArgumentException.cs        23 Apr 2003 11:00:42 -0000      1.8
--- ArgumentException.cs        26 May 2003 04:41:21 -0000      1.9
***************
*** 26,30 ****
  
  public class ArgumentException : SystemException
! #if !ECMA_COMPAT
        , ISerializable
  #endif
--- 26,30 ----
  
  public class ArgumentException : SystemException
! #if CONFIG_SERIALIZATION
        , ISerializable
  #endif
***************
*** 45,49 ****
        public ArgumentException(String msg, String param)
                        : base(msg) { paramName = param; }
! #if !ECMA_COMPAT
        protected ArgumentException(SerializationInfo info,
                                                                
StreamingContext context)
--- 45,49 ----
        public ArgumentException(String msg, String param)
                        : base(msg) { paramName = param; }
! #if CONFIG_SERIALIZATION
        protected ArgumentException(SerializationInfo info,
                                                                
StreamingContext context)
***************
*** 107,111 ****
                        }
  
! #if !ECMA_COMPAT
        // Get the serialization data for this object.
        public override void GetObjectData(SerializationInfo info,
--- 107,111 ----
                        }
  
! #if CONFIG_SERIALIZATION
        // Get the serialization data for this object.
        public override void GetObjectData(SerializationInfo info,

Index: ArgumentNullException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/ArgumentNullException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** ArgumentNullException.cs    7 Apr 2003 04:22:51 -0000       1.6
--- ArgumentNullException.cs    26 May 2003 04:41:21 -0000      1.7
***************
*** 37,41 ****
        public ArgumentNullException(String paramName, String msg)
                : base(msg, paramName) {}
! #if !ECMA_COMPAT
        protected ArgumentNullException(SerializationInfo info,
                                                                        
StreamingContext context)
--- 37,41 ----
        public ArgumentNullException(String paramName, String msg)
                : base(msg, paramName) {}
! #if CONFIG_SERIALIZATION
        protected ArgumentNullException(SerializationInfo info,
                                                                        
StreamingContext context)

Index: ArgumentOutOfRangeException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/ArgumentOutOfRangeException.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** ArgumentOutOfRangeException.cs      23 Apr 2003 06:28:50 -0000      1.8
--- ArgumentOutOfRangeException.cs      26 May 2003 04:41:21 -0000      1.9
***************
*** 26,30 ****
  
  public class ArgumentOutOfRangeException : ArgumentException
! #if !ECMA_COMPAT
        , ISerializable
  #endif
--- 26,30 ----
  
  public class ArgumentOutOfRangeException : ArgumentException
! #if CONFIG_SERIALIZATION
        , ISerializable
  #endif
***************
*** 46,50 ****
                                                                           
Object _actualValue, String msg)
                        : base(msg, paramName) { actualValue = _actualValue; }
! #if !ECMA_COMPAT
        protected ArgumentOutOfRangeException(SerializationInfo info,
                                                                                
  StreamingContext context)
--- 46,50 ----
                                                                           
Object _actualValue, String msg)
                        : base(msg, paramName) { actualValue = _actualValue; }
! #if CONFIG_SERIALIZATION
        protected ArgumentOutOfRangeException(SerializationInfo info,
                                                                                
  StreamingContext context)
***************
*** 102,106 ****
                        }
  
! #if !ECMA_COMPAT
        // Get the serialization data for this object.
        public override void GetObjectData(SerializationInfo info,
--- 102,106 ----
                        }
  
! #if CONFIG_SERIALIZATION
        // Get the serialization data for this object.
        public override void GetObjectData(SerializationInfo info,

Index: ArithmeticException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/ArithmeticException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** ArithmeticException.cs      7 Apr 2003 04:22:51 -0000       1.6
--- ArithmeticException.cs      26 May 2003 04:41:21 -0000      1.7
***************
*** 35,39 ****
        public ArithmeticException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected ArithmeticException(SerializationInfo info,
                                                                  
StreamingContext context)
--- 35,39 ----
        public ArithmeticException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected ArithmeticException(SerializationInfo info,
                                                                  
StreamingContext context)

Index: ArrayTypeMismatchException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/ArrayTypeMismatchException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** ArrayTypeMismatchException.cs       7 Apr 2003 04:22:51 -0000       1.6
--- ArrayTypeMismatchException.cs       26 May 2003 04:41:21 -0000      1.7
***************
*** 35,39 ****
        public ArrayTypeMismatchException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected ArrayTypeMismatchException(SerializationInfo info,
                                                                                
 StreamingContext context)
--- 35,39 ----
        public ArrayTypeMismatchException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected ArrayTypeMismatchException(SerializationInfo info,
                                                                                
 StreamingContext context)

Index: BadImageFormatException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/BadImageFormatException.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** BadImageFormatException.cs  15 Apr 2003 05:13:43 -0000      1.8
--- BadImageFormatException.cs  26 May 2003 04:41:21 -0000      1.9
***************
*** 47,51 ****
        public BadImageFormatException(String msg, String fileName)
                : base(msg) { this.fileName = fileName; }
! #if !ECMA_COMPAT
        protected BadImageFormatException(SerializationInfo info,
                                                                          
StreamingContext context)
--- 47,51 ----
        public BadImageFormatException(String msg, String fileName)
                : base(msg) { this.fileName = fileName; }
! #if CONFIG_SERIALIZATION
        protected BadImageFormatException(SerializationInfo info,
                                                                          
StreamingContext context)
***************
*** 129,133 ****
                        }
  
! #if !ECMA_COMPAT
        // Get the serialization data for this object.
        public override void GetObjectData(SerializationInfo info,
--- 129,133 ----
                        }
  
! #if CONFIG_SERIALIZATION
        // Get the serialization data for this object.
        public override void GetObjectData(SerializationInfo info,

Index: CannotUnloadAppDomainException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/CannotUnloadAppDomainException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** CannotUnloadAppDomainException.cs   15 Apr 2003 05:13:43 -0000      1.7
--- CannotUnloadAppDomainException.cs   26 May 2003 04:41:21 -0000      1.8
***************
*** 37,41 ****
        public CannotUnloadAppDomainException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected CannotUnloadAppDomainException(SerializationInfo info,
                                                                                
     StreamingContext context)
--- 37,41 ----
        public CannotUnloadAppDomainException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected CannotUnloadAppDomainException(SerializationInfo info,
                                                                                
     StreamingContext context)

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

Index: DBNull.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/DBNull.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** DBNull.cs   7 Apr 2003 04:22:51 -0000       1.6
--- DBNull.cs   26 May 2003 04:41:21 -0000      1.7
***************
*** 26,30 ****
  using System.Runtime.Serialization;
  
! public sealed class DBNull : IConvertible, ISerializable
  {
  
--- 26,33 ----
  using System.Runtime.Serialization;
  
! public sealed class DBNull : IConvertible
! #if CONFIG_SERIALIZATION
!       , ISerializable
! #endif
  {
  
***************
*** 105,108 ****
--- 108,113 ----
                        }
  
+ #if CONFIG_SERIALIZATION
+ 
        // Get the serialization data for this object.
        [TODO]
***************
*** 111,114 ****
--- 116,121 ----
                                // TODO
                        }
+ 
+ #endif
  
  }; // class DBNull

Index: Delegate.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Delegate.cs,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** Delegate.cs 23 Apr 2003 11:00:43 -0000      1.12
--- Delegate.cs 26 May 2003 04:41:21 -0000      1.13
***************
*** 31,35 ****
  #endif
  public abstract class Delegate : ICloneable
! #if !ECMA_COMPAT
        , ISerializable
  #endif
--- 31,35 ----
  #endif
  public abstract class Delegate : ICloneable
! #if CONFIG_SERIALIZATION
        , ISerializable
  #endif
***************
*** 509,513 ****
  #endif
  
! #if !ECMA_COMPAT
        // Get the serialization data for this object.
        [TODO]
--- 509,513 ----
  #endif
  
! #if CONFIG_SERIALIZATION
        // Get the serialization data for this object.
        [TODO]

Index: DivideByZeroException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/DivideByZeroException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** DivideByZeroException.cs    7 Apr 2003 04:22:51 -0000       1.6
--- DivideByZeroException.cs    26 May 2003 04:41:21 -0000      1.7
***************
*** 35,39 ****
        public DivideByZeroException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected DivideByZeroException(SerializationInfo info,
                                                                        
StreamingContext context)
--- 35,39 ----
        public DivideByZeroException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected DivideByZeroException(SerializationInfo info,
                                                                        
StreamingContext context)

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

Index: DuplicateWaitObjectException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/DuplicateWaitObjectException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** DuplicateWaitObjectException.cs     7 Apr 2003 04:22:51 -0000       1.6
--- DuplicateWaitObjectException.cs     26 May 2003 04:41:21 -0000      1.7
***************
*** 35,39 ****
        public DuplicateWaitObjectException(String paramName, String msg)
                : base(msg, paramName) {}
! #if !ECMA_COMPAT
        protected DuplicateWaitObjectException(SerializationInfo info,
                                                                                
   StreamingContext context)
--- 35,39 ----
        public DuplicateWaitObjectException(String paramName, String msg)
                : base(msg, paramName) {}
! #if CONFIG_SERIALIZATION
        protected DuplicateWaitObjectException(SerializationInfo info,
                                                                                
   StreamingContext context)

Index: EntryPointNotFoundException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/EntryPointNotFoundException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** EntryPointNotFoundException.cs      15 Apr 2003 05:13:43 -0000      1.7
--- EntryPointNotFoundException.cs      26 May 2003 04:41:21 -0000      1.8
***************
*** 37,41 ****
        public EntryPointNotFoundException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected EntryPointNotFoundException(SerializationInfo info,
                                                                                
  StreamingContext context)
--- 37,41 ----
        public EntryPointNotFoundException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected EntryPointNotFoundException(SerializationInfo info,
                                                                                
  StreamingContext context)

Index: Exception.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Exception.cs,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** Exception.cs        23 Apr 2003 05:39:48 -0000      1.21
--- Exception.cs        26 May 2003 04:41:21 -0000      1.22
***************
*** 57,61 ****
  #endif
  public class Exception
! #if !ECMA_COMPAT
        : ISerializable
  #endif
--- 57,61 ----
  #endif
  public class Exception
! #if CONFIG_SERIALIZATION
        : ISerializable
  #endif
***************
*** 85,89 ****
                        innerException = inner;
                }
! #if !ECMA_COMPAT
        protected Exception(SerializationInfo info, StreamingContext context)
                {
--- 85,89 ----
                        innerException = inner;
                }
! #if CONFIG_SERIALIZATION
        protected Exception(SerializationInfo info, StreamingContext context)
                {
***************
*** 346,350 ****
                }
  
! #if !ECMA_COMPAT
  
        // Get the serialization data for this exception object.
--- 346,350 ----
                }
  
! #if CONFIG_SERIALIZATION
  
        // Get the serialization data for this exception object.
***************
*** 369,373 ****
                }
  
! #endif // !ECMA_COMPAT
  
  }; // class Exception
--- 369,373 ----
                }
  
! #endif // CONFIG_SERIALIZATION
  
  }; // class Exception

Index: ExecutionEngineException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/ExecutionEngineException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** ExecutionEngineException.cs 7 Apr 2003 04:22:51 -0000       1.6
--- ExecutionEngineException.cs 26 May 2003 04:41:21 -0000      1.7
***************
*** 35,39 ****
        public ExecutionEngineException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        internal ExecutionEngineException(SerializationInfo info,
                                                                          
StreamingContext context)
--- 35,39 ----
        public ExecutionEngineException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        internal ExecutionEngineException(SerializationInfo info,
                                                                          
StreamingContext context)

Index: FieldAccessException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/FieldAccessException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** FieldAccessException.cs     15 Apr 2003 05:13:43 -0000      1.7
--- FieldAccessException.cs     26 May 2003 04:41:21 -0000      1.8
***************
*** 37,41 ****
        public FieldAccessException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected FieldAccessException(SerializationInfo info,
                                                                   
StreamingContext context)
--- 37,41 ----
        public FieldAccessException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected FieldAccessException(SerializationInfo info,
                                                                   
StreamingContext context)

Index: FormatException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/FormatException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** FormatException.cs  7 Apr 2003 04:22:51 -0000       1.6
--- FormatException.cs  26 May 2003 04:41:21 -0000      1.7
***************
*** 34,38 ****
        public FormatException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected FormatException(SerializationInfo info, StreamingContext 
context)
                : base(info, context) {}
--- 34,38 ----
        public FormatException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected FormatException(SerializationInfo info, StreamingContext 
context)
                : base(info, context) {}

Index: IndexOutOfRangeException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/IndexOutOfRangeException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** IndexOutOfRangeException.cs 7 Apr 2003 04:22:51 -0000       1.6
--- IndexOutOfRangeException.cs 26 May 2003 04:41:21 -0000      1.7
***************
*** 34,38 ****
        public IndexOutOfRangeException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        internal IndexOutOfRangeException(SerializationInfo info,
                                                                          
StreamingContext context)
--- 34,38 ----
        public IndexOutOfRangeException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        internal IndexOutOfRangeException(SerializationInfo info,
                                                                          
StreamingContext context)

Index: IntPtr.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IntPtr.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** IntPtr.cs   7 Apr 2003 04:22:51 -0000       1.8
--- IntPtr.cs   26 May 2003 04:41:21 -0000      1.9
***************
*** 27,31 ****
  
  public struct IntPtr
! #if !ECMA_COMPAT
        : ISerializable
  #endif
--- 27,31 ----
  
  public struct IntPtr
! #if CONFIG_SERIALIZATION
        : ISerializable
  #endif
***************
*** 167,170 ****
--- 167,174 ----
                        }
  
+ #endif // !ECMA_COMPAT
+ 
+ #if CONFIG_SERIALIZATION
+ 
        // De-serialize an "IntPtr" value.
        internal unsafe IntPtr(SerializationInfo info, StreamingContext context)
***************
*** 197,201 ****
                        }
  
! #endif // !ECMA_COMPAT
  
  }; // struct IntPtr
--- 201,205 ----
                        }
  
! #endif // CONFIG_SERIALIZATION
  
  }; // struct IntPtr

Index: InvalidCastException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/InvalidCastException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** InvalidCastException.cs     7 Apr 2003 04:22:51 -0000       1.6
--- InvalidCastException.cs     26 May 2003 04:41:21 -0000      1.7
***************
*** 35,39 ****
        public InvalidCastException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected InvalidCastException(SerializationInfo info,
                                                                   
StreamingContext context)
--- 35,39 ----
        public InvalidCastException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected InvalidCastException(SerializationInfo info,
                                                                   
StreamingContext context)

Index: InvalidOperationException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/InvalidOperationException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** InvalidOperationException.cs        7 Apr 2003 04:22:51 -0000       1.6
--- InvalidOperationException.cs        26 May 2003 04:41:21 -0000      1.7
***************
*** 35,39 ****
        public InvalidOperationException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected InvalidOperationException(SerializationInfo info,
                                                                                
StreamingContext context)
--- 35,39 ----
        public InvalidOperationException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected InvalidOperationException(SerializationInfo info,
                                                                                
StreamingContext context)

Index: InvalidProgramException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/InvalidProgramException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** InvalidProgramException.cs  7 Apr 2003 04:22:51 -0000       1.6
--- InvalidProgramException.cs  26 May 2003 04:41:21 -0000      1.7
***************
*** 35,39 ****
        public InvalidProgramException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        internal InvalidProgramException(SerializationInfo info,
                                                                         
StreamingContext context)
--- 35,39 ----
        public InvalidProgramException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        internal InvalidProgramException(SerializationInfo info,
                                                                         
StreamingContext context)

Index: MemberAccessException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/MemberAccessException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** MemberAccessException.cs    15 Apr 2003 05:13:43 -0000      1.7
--- MemberAccessException.cs    26 May 2003 04:41:21 -0000      1.8
***************
*** 37,41 ****
        public MemberAccessException(String msg, Exception inner)
                        : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected MemberAccessException(SerializationInfo info,
                                                                        
StreamingContext context)
--- 37,41 ----
        public MemberAccessException(String msg, Exception inner)
                        : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected MemberAccessException(SerializationInfo info,
                                                                        
StreamingContext context)

Index: MethodAccessException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/MethodAccessException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** MethodAccessException.cs    15 Apr 2003 05:13:43 -0000      1.7
--- MethodAccessException.cs    26 May 2003 04:41:21 -0000      1.8
***************
*** 37,41 ****
        public MethodAccessException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected MethodAccessException(SerializationInfo info,
                                                                        
StreamingContext context)
--- 37,41 ----
        public MethodAccessException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected MethodAccessException(SerializationInfo info,
                                                                        
StreamingContext context)

Index: MissingFieldException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/MissingFieldException.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** MissingFieldException.cs    23 Apr 2003 11:00:43 -0000      1.8
--- MissingFieldException.cs    26 May 2003 04:41:21 -0000      1.9
***************
*** 28,32 ****
  
  public class MissingFieldException : MissingMemberException
! #if !ECMA_COMPAT
        , ISerializable
  #endif
--- 28,32 ----
  
  public class MissingFieldException : MissingMemberException
! #if CONFIG_SERIALIZATION
        , ISerializable
  #endif
***************
*** 43,46 ****
--- 43,48 ----
        public MissingFieldException(String className, String fieldName)
                        : base(className, fieldName) {}
+ #endif
+ #if CONFIG_SERIALIZATION
        protected MissingFieldException(SerializationInfo info,
                                                                        
StreamingContext context)

Index: MissingMemberException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/MissingMemberException.cs,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** MissingMemberException.cs   23 Apr 2003 11:00:43 -0000      1.9
--- MissingMemberException.cs   26 May 2003 04:41:21 -0000      1.10
***************
*** 28,32 ****
  
  public class MissingMemberException : MemberAccessException
! #if !ECMA_COMPAT
        , ISerializable
  #endif
--- 28,32 ----
  
  public class MissingMemberException : MemberAccessException
! #if CONFIG_SERIALIZATION
        , ISerializable
  #endif
***************
*** 53,56 ****
--- 53,58 ----
                                MemberName = memberName;
                        }
+ #endif
+ #if CONFIG_SERIALIZATION
        protected MissingMemberException(SerializationInfo info,
                                                                         
StreamingContext context)
***************
*** 93,97 ****
                        }
  
! #if !ECMA_COMPAT
        // Get the serialization data for this object.
        public override void GetObjectData(SerializationInfo info,
--- 95,99 ----
                        }
  
! #if CONFIG_SERIALIZATION
        // Get the serialization data for this object.
        public override void GetObjectData(SerializationInfo info,

Index: MissingMethodException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/MissingMethodException.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** MissingMethodException.cs   23 Apr 2003 11:00:43 -0000      1.8
--- MissingMethodException.cs   26 May 2003 04:41:21 -0000      1.9
***************
*** 28,32 ****
  
  public class MissingMethodException : MissingMemberException
! #if !ECMA_COMPAT
        , ISerializable
  #endif
--- 28,32 ----
  
  public class MissingMethodException : MissingMemberException
! #if CONFIG_SERIALIZATION
        , ISerializable
  #endif
***************
*** 43,46 ****
--- 43,48 ----
        public MissingMethodException(String className, String methodName)
                        : base(className, methodName) {}
+ #endif
+ #if CONFIG_SERIALIZATION
        protected MissingMethodException(SerializationInfo info,
                                                                         
StreamingContext context)

Index: MulticastDelegate.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/MulticastDelegate.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** MulticastDelegate.cs        23 Apr 2003 11:00:43 -0000      1.6
--- MulticastDelegate.cs        26 May 2003 04:41:21 -0000      1.7
***************
*** 301,305 ****
                        }
  
! #if !ECMA_COMPAT
  
        // Get serialization data for this delegate.
--- 301,305 ----
                        }
  
! #if CONFIG_SERIALIZATION
  
        // Get serialization data for this delegate.
***************
*** 311,315 ****
                        }
  
! #endif // !ECMA_COMPAT
  
  }; // class MulticastDelegate
--- 311,315 ----
                        }
  
! #endif // CONFIG_SERIALIZATION
  
  }; // class MulticastDelegate

Index: MulticastNotSupportedException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/MulticastNotSupportedException.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** MulticastNotSupportedException.cs   7 Apr 2003 04:22:51 -0000       1.5
--- MulticastNotSupportedException.cs   26 May 2003 04:41:21 -0000      1.6
***************
*** 35,39 ****
        public MulticastNotSupportedException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        internal MulticastNotSupportedException(SerializationInfo info,
                                                                                
    StreamingContext context)
--- 35,39 ----
        public MulticastNotSupportedException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        internal MulticastNotSupportedException(SerializationInfo info,
                                                                                
    StreamingContext context)

Index: NotFiniteNumberException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/NotFiniteNumberException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** NotFiniteNumberException.cs 15 Apr 2003 07:27:54 -0000      1.7
--- NotFiniteNumberException.cs 26 May 2003 04:41:21 -0000      1.8
***************
*** 46,50 ****
                                                                        
Exception inner)
                : base(msg, inner) { number = offendingNumber; }
! #if !ECMA_COMPAT
        protected NotFiniteNumberException(SerializationInfo info,
                                                                           
StreamingContext context)
--- 46,50 ----
                                                                        
Exception inner)
                : base(msg, inner) { number = offendingNumber; }
! #if CONFIG_SERIALIZATION
        protected NotFiniteNumberException(SerializationInfo info,
                                                                           
StreamingContext context)
***************
*** 82,86 ****
                        }
  
! #if !ECMA_COMPAT
        // Get the serialization data for this object.
        public override void GetObjectData(SerializationInfo info,
--- 82,86 ----
                        }
  
! #if CONFIG_SERIALIZATION
        // Get the serialization data for this object.
        public override void GetObjectData(SerializationInfo info,

Index: NotImplementedException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/NotImplementedException.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** NotImplementedException.cs  7 Apr 2003 04:22:51 -0000       1.4
--- NotImplementedException.cs  26 May 2003 04:41:21 -0000      1.5
***************
*** 39,43 ****
        public NotImplementedException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected NotImplementedException(SerializationInfo info,
                                                                          
StreamingContext context)
--- 39,43 ----
        public NotImplementedException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected NotImplementedException(SerializationInfo info,
                                                                          
StreamingContext context)

Index: NotSupportedException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/NotSupportedException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** NotSupportedException.cs    7 Apr 2003 04:22:51 -0000       1.6
--- NotSupportedException.cs    26 May 2003 04:41:21 -0000      1.7
***************
*** 35,39 ****
        public NotSupportedException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected NotSupportedException(SerializationInfo info,
                                                                        
StreamingContext context)
--- 35,39 ----
        public NotSupportedException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected NotSupportedException(SerializationInfo info,
                                                                        
StreamingContext context)

Index: NullReferenceException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/NullReferenceException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** NullReferenceException.cs   7 Apr 2003 04:22:51 -0000       1.6
--- NullReferenceException.cs   26 May 2003 04:41:21 -0000      1.7
***************
*** 35,39 ****
        public NullReferenceException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected NullReferenceException(SerializationInfo info,
                                                                         
StreamingContext context)
--- 35,39 ----
        public NullReferenceException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected NullReferenceException(SerializationInfo info,
                                                                         
StreamingContext context)

Index: ObjectDisposedException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/ObjectDisposedException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** ObjectDisposedException.cs  7 Apr 2003 04:22:51 -0000       1.6
--- ObjectDisposedException.cs  26 May 2003 04:41:21 -0000      1.7
***************
*** 36,40 ****
        public ObjectDisposedException(String objectName, String msg)
                : base(msg) { this.objectName = objectName; }
! #if !ECMA_COMPAT
        protected ObjectDisposedException(SerializationInfo info,
                                                                          
StreamingContext context)
--- 36,40 ----
        public ObjectDisposedException(String objectName, String msg)
                : base(msg) { this.objectName = objectName; }
! #if CONFIG_SERIALIZATION
        protected ObjectDisposedException(SerializationInfo info,
                                                                          
StreamingContext context)
***************
*** 86,90 ****
                        }
  
! #if !ECMA_COMPAT
        // Get the serialization data for this object.
        public override void GetObjectData(SerializationInfo info,
--- 86,90 ----
                        }
  
! #if CONFIG_SERIALIZATION
        // Get the serialization data for this object.
        public override void GetObjectData(SerializationInfo info,

Index: OutOfMemoryException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/OutOfMemoryException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** OutOfMemoryException.cs     7 Apr 2003 04:22:51 -0000       1.7
--- OutOfMemoryException.cs     26 May 2003 04:41:21 -0000      1.8
***************
*** 35,39 ****
        public OutOfMemoryException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected OutOfMemoryException(SerializationInfo info,
                                                                   
StreamingContext context)
--- 35,39 ----
        public OutOfMemoryException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected OutOfMemoryException(SerializationInfo info,
                                                                   
StreamingContext context)

Index: OverflowException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/OverflowException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** OverflowException.cs        7 Apr 2003 04:22:51 -0000       1.6
--- OverflowException.cs        26 May 2003 04:41:21 -0000      1.7
***************
*** 35,39 ****
        public OverflowException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected OverflowException(SerializationInfo info,
                                                                
StreamingContext context)
--- 35,39 ----
        public OverflowException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected OverflowException(SerializationInfo info,
                                                                
StreamingContext context)

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

Index: RankException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/RankException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** RankException.cs    7 Apr 2003 04:22:51 -0000       1.6
--- RankException.cs    26 May 2003 04:41:21 -0000      1.7
***************
*** 34,38 ****
        public RankException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected RankException(SerializationInfo info, StreamingContext 
context)
                : base(info, context) {}
--- 34,38 ----
        public RankException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected RankException(SerializationInfo info, StreamingContext 
context)
                : base(info, context) {}

Index: RuntimeFieldHandle.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/RuntimeFieldHandle.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** RuntimeFieldHandle.cs       16 Apr 2003 03:17:55 -0000      1.7
--- RuntimeFieldHandle.cs       26 May 2003 04:41:21 -0000      1.8
***************
*** 26,30 ****
  
  public struct RuntimeFieldHandle
! #if !ECMA_COMPAT
        : ISerializable
  #endif
--- 26,30 ----
  
  public struct RuntimeFieldHandle
! #if CONFIG_SERIALIZATION
        : ISerializable
  #endif
***************
*** 48,52 ****
                        }
  
! #if !ECMA_COMPAT
  
        // De-serialize this object.
--- 48,52 ----
                        }
  
! #if CONFIG_SERIALIZATION
  
        // De-serialize this object.
***************
*** 67,71 ****
                        }
  
! #endif // !ECMA_COMPAT
  
  }; // class RuntimeFieldHandle
--- 67,71 ----
                        }
  
! #endif // CONFIG_SERIALIZATION
  
  }; // class RuntimeFieldHandle

Index: RuntimeMethodHandle.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/RuntimeMethodHandle.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** RuntimeMethodHandle.cs      15 Apr 2003 05:13:43 -0000      1.8
--- RuntimeMethodHandle.cs      26 May 2003 04:41:21 -0000      1.9
***************
*** 29,33 ****
  
  public struct RuntimeMethodHandle
! #if !ECMA_COMPAT
        : ISerializable
  #endif
--- 29,33 ----
  
  public struct RuntimeMethodHandle
! #if CONFIG_SERIALIZATION
        : ISerializable
  #endif
***************
*** 57,61 ****
                        }
  
! #if !ECMA_COMPAT
  
        // De-serialize this object.
--- 57,61 ----
                        }
  
! #if CONFIG_SERIALIZATION
  
        // De-serialize this object.
***************
*** 76,80 ****
                        }
  
! #endif // !ECMA_COMPAT
  
  }; // class RuntimeMethodHandle
--- 76,80 ----
                        }
  
! #endif // CONFIG_SERIALIZATION
  
  }; // class RuntimeMethodHandle

Index: RuntimeTypeHandle.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/RuntimeTypeHandle.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** RuntimeTypeHandle.cs        16 Apr 2003 03:17:55 -0000      1.7
--- RuntimeTypeHandle.cs        26 May 2003 04:41:21 -0000      1.8
***************
*** 25,29 ****
  
  public struct RuntimeTypeHandle
! #if !ECMA_COMPAT
        : ISerializable
  #endif
--- 25,29 ----
  
  public struct RuntimeTypeHandle
! #if CONFIG_SERIALIZATION
        : ISerializable
  #endif
***************
*** 47,51 ****
                        }
  
! #if !ECMA_COMPAT
  
        // De-serialize this object.
--- 47,51 ----
                        }
  
! #if CONFIG_SERIALIZATION
  
        // De-serialize this object.
***************
*** 66,70 ****
                        }
  
! #endif // !ECMA_COMPAT
  
  }; // class RuntimeTypeHandle
--- 66,70 ----
                        }
  
! #endif // CONFIG_SERIALIZATION
  
  }; // class RuntimeTypeHandle

Index: StackOverflowException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/StackOverflowException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** StackOverflowException.cs   7 Apr 2003 04:22:51 -0000       1.6
--- StackOverflowException.cs   26 May 2003 04:41:21 -0000      1.7
***************
*** 35,39 ****
        public StackOverflowException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        internal StackOverflowException(SerializationInfo info,
                                                                        
StreamingContext context)
--- 35,39 ----
        public StackOverflowException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        internal StackOverflowException(SerializationInfo info,
                                                                        
StreamingContext context)

Index: SystemException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/SystemException.cs,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** SystemException.cs  7 Apr 2003 04:22:51 -0000       1.10
--- SystemException.cs  26 May 2003 04:41:21 -0000      1.11
***************
*** 35,39 ****
        public SystemException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected SystemException(SerializationInfo info, StreamingContext ctxt)
                : base(info, ctxt) {}
--- 35,39 ----
        public SystemException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected SystemException(SerializationInfo info, StreamingContext ctxt)
                : base(info, ctxt) {}

Index: TypeInitializationException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/TypeInitializationException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** TypeInitializationException.cs      22 Apr 2003 12:17:29 -0000      1.7
--- TypeInitializationException.cs      26 May 2003 04:41:21 -0000      1.8
***************
*** 42,46 ****
                : base(null, inner)
                { this.typeName = typeName; }
! #if !ECMA_COMPAT
        internal TypeInitializationException(SerializationInfo info,
                                                                                
 StreamingContext context)
--- 42,46 ----
                : base(null, inner)
                { this.typeName = typeName; }
! #if CONFIG_SERIALIZATION
        internal TypeInitializationException(SerializationInfo info,
                                                                                
 StreamingContext context)
***************
*** 93,97 ****
                        }
  
! #if !ECMA_COMPAT
        // Get the serialization data for this object.
        public override void GetObjectData(SerializationInfo info,
--- 93,97 ----
                        }
  
! #if CONFIG_SERIALIZATION
        // Get the serialization data for this object.
        public override void GetObjectData(SerializationInfo info,

Index: TypeLoadException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/TypeLoadException.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** TypeLoadException.cs        15 Apr 2003 05:13:43 -0000      1.8
--- TypeLoadException.cs        26 May 2003 04:41:21 -0000      1.9
***************
*** 28,32 ****
  
  public class TypeLoadException : SystemException
! #if !ECMA_COMPAT
        , ISerializable
  #endif
--- 28,32 ----
  
  public class TypeLoadException : SystemException
! #if CONFIG_SERIALIZATION
        , ISerializable
  #endif
***************
*** 43,47 ****
        public TypeLoadException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected TypeLoadException(SerializationInfo info,
                                                                
StreamingContext context)
--- 43,47 ----
        public TypeLoadException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected TypeLoadException(SerializationInfo info,
                                                                
StreamingContext context)
***************
*** 104,108 ****
                        }
  
! #if !ECMA_COMPAT
        // Get the serialization data for this object.
        public override void GetObjectData(SerializationInfo info,
--- 104,108 ----
                        }
  
! #if CONFIG_SERIALIZATION
        // Get the serialization data for this object.
        public override void GetObjectData(SerializationInfo info,

Index: TypeUnloadedException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/TypeUnloadedException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** TypeUnloadedException.cs    15 Apr 2003 05:13:43 -0000      1.7
--- TypeUnloadedException.cs    26 May 2003 04:41:21 -0000      1.8
***************
*** 37,41 ****
        public TypeUnloadedException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected TypeUnloadedException(SerializationInfo info,
                                                                        
StreamingContext context)
--- 37,41 ----
        public TypeUnloadedException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected TypeUnloadedException(SerializationInfo info,
                                                                        
StreamingContext context)

Index: UIntPtr.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/UIntPtr.cs,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** UIntPtr.cs  22 Apr 2003 12:17:29 -0000      1.10
--- UIntPtr.cs  26 May 2003 04:41:21 -0000      1.11
***************
*** 28,32 ****
  [CLSCompliant(false)]
  public struct UIntPtr
! #if !ECMA_COMPAT
        : ISerializable
  #endif
--- 28,32 ----
  [CLSCompliant(false)]
  public struct UIntPtr
! #if CONFIG_SERIALIZATION
        : ISerializable
  #endif
***************
*** 166,169 ****
--- 166,173 ----
                        }
  
+ #endif // !ECMA_COMPAT
+ 
+ #if CONFIG_SERIALIZATION
+ 
        // De-serialize an "UIntPtr" value.
        internal unsafe UIntPtr(SerializationInfo info, StreamingContext 
context)
***************
*** 195,199 ****
                        }
  
! #endif // !ECMA_COMPAT
  
  }; // struct UIntPtr
--- 199,203 ----
                        }
  
! #endif // CONFIG_SERIALIZATION
  
  }; // struct UIntPtr

Index: UnauthorizedAccessException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/UnauthorizedAccessException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** UnauthorizedAccessException.cs      7 Apr 2003 04:22:51 -0000       1.6
--- UnauthorizedAccessException.cs      26 May 2003 04:41:21 -0000      1.7
***************
*** 35,39 ****
        public UnauthorizedAccessException(String msg, Exception inner)
                : base(msg, inner) {}
! #if !ECMA_COMPAT
        protected UnauthorizedAccessException(SerializationInfo info,
                                                                                
  StreamingContext context)
--- 35,39 ----
        public UnauthorizedAccessException(String msg, Exception inner)
                : base(msg, inner) {}
! #if CONFIG_SERIALIZATION
        protected UnauthorizedAccessException(SerializationInfo info,
                                                                                
  StreamingContext context)

Index: WeakReference.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/WeakReference.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** WeakReference.cs    7 Apr 2003 04:22:51 -0000       1.3
--- WeakReference.cs    26 May 2003 04:41:21 -0000      1.4
***************
*** 27,31 ****
  using System.Runtime.Serialization;
  
! public class WeakReference : ISerializable
  {
  
--- 27,34 ----
  using System.Runtime.Serialization;
  
! public class WeakReference
! #if CONFIG_SERIALIZATION
!       : ISerializable
! #endif
  {
  
***************
*** 51,54 ****
--- 54,58 ----
                                }
                        }
+ #if CONFIG_SERIALIZATION
        protected WeakReference(SerializationInfo info, StreamingContext 
context)
                        {
***************
*** 73,76 ****
--- 77,81 ----
                                }
                        }
+ #endif // CONFIG_SERIALIZATION
  
        // Destructor.
***************
*** 112,115 ****
--- 117,122 ----
                        }
  
+ #if CONFIG_SERIALIZATION
+ 
        // Get the serialization data for this object.
        public virtual void GetObjectData(SerializationInfo info,
***************
*** 123,126 ****
--- 130,135 ----
                                info.AddValue("TrackResurrection", 
TrackResurrection);
                        }
+ 
+ #endif // CONFIG_SERIALIZATION
  
  }; // class WeakReference





reply via email to

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