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/Reflection AmbiguousMa


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection AmbiguousMatchException.cs,1.7,1.8 Assembly.cs,1.26,1.27 AssemblyName.cs,1.3,1.4 CustomAttributeFormatException.cs,1.1,1.2 InvalidFilterCriteriaException.cs,1.5,1.6 Module.cs,1.10,1.11 Pointer.cs,1.2,1.3 ReflectionTypeLoadException.cs,1.1,1.2 TargetException.cs,1.7,1.8 TargetInvocationException.cs,1.7,1.8 TargetParameterCountException.cs,1.7,1.8
Date: Mon, 26 May 2003 00:41:24 -0400

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

Modified Files:
        AmbiguousMatchException.cs Assembly.cs AssemblyName.cs 
        CustomAttributeFormatException.cs 
        InvalidFilterCriteriaException.cs Module.cs Pointer.cs 
        ReflectionTypeLoadException.cs TargetException.cs 
        TargetInvocationException.cs TargetParameterCountException.cs 
Log Message:


Add the CONFIG_SERIALIZATION option to the profiles.


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

Index: Assembly.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Assembly.cs,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** Assembly.cs 25 Apr 2003 03:53:07 -0000      1.26
--- Assembly.cs 26 May 2003 04:41:21 -0000      1.27
***************
*** 41,46 ****
        , ICustomAttributeProvider
  #endif
  #if !ECMA_COMPAT
!       , ISerializable, IEvidenceFactory
  #endif
  {
--- 41,49 ----
        , ICustomAttributeProvider
  #endif
+ #if CONFIG_SERIALIZATION
+       , ISerializable
+ #endif
  #if !ECMA_COMPAT
!       , IEvidenceFactory
  #endif
  {
***************
*** 596,599 ****
--- 599,604 ----
        public event ModuleResolveEventHandler ModuleResolve;
  
+ #if CONFIG_SERIALIZATION
+ 
        // Serialize this object.
        [TODO]
***************
*** 607,610 ****
--- 612,617 ----
                                // TODO
                        }
+ 
+ #endif // CONFIG_SERIALIZATION
  
        // Get the loaded modules within this assembly.  We make no

Index: AssemblyName.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/AssemblyName.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** AssemblyName.cs     25 Apr 2003 03:53:07 -0000      1.3
--- AssemblyName.cs     26 May 2003 04:41:21 -0000      1.4
***************
*** 32,36 ****
  
  public sealed class AssemblyName
!       : ICloneable, ISerializable, IDeserializationCallback
  {
        // Internal state.
--- 32,39 ----
  
  public sealed class AssemblyName
!       : ICloneable
! #if CONFIG_SERIALIZATION
!       , ISerializable, IDeserializationCallback
! #endif
  {
        // Internal state.
***************
*** 48,51 ****
--- 51,55 ----
        // Constructor.
        public AssemblyName() {}
+ #if CONFIG_SERIALIZATION
        [TODO]
        internal AssemblyName(SerializationInfo info,
***************
*** 54,57 ****
--- 58,62 ----
                                // TODO
                        }
+ #endif
  
        // Get the assembly name for a specific file.
***************
*** 225,228 ****
--- 230,235 ----
                        }
  
+ #if CONFIG_SERIALIZATION
+ 
        // Get the serialization data for this object.
        [TODO]
***************
*** 241,244 ****
--- 248,253 ----
                                // Nothing to do here.
                        }
+ 
+ #endif // CONFIG_SERIALIZATION
  
  }; // class AssemblyName

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

Index: InvalidFilterCriteriaException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/InvalidFilterCriteriaException.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** InvalidFilterCriteriaException.cs   23 Apr 2003 05:39:49 -0000      1.5
--- InvalidFilterCriteriaException.cs   26 May 2003 04:41:21 -0000      1.6
***************
*** 39,45 ****
--- 39,47 ----
        public InvalidFilterCriteriaException(String msg, Exception inner)
                : base(msg, inner) {}
+ #if CONFIG_SERIALIZATION
        protected InvalidFilterCriteriaException(SerializationInfo info,
                                                                                
         StreamingContext context)
                : base(info, context) {}
+ #endif
  
        // Get the default message to use for this exception type.

Index: Module.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Module.cs,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** Module.cs   25 Apr 2003 03:53:07 -0000      1.10
--- Module.cs   26 May 2003 04:41:21 -0000      1.11
***************
*** 32,36 ****
  
  public class Module : IClrProgramItem, ICustomAttributeProvider
! #if !ECMA_COMPAT
        , ISerializable
  #endif
--- 32,36 ----
  
  public class Module : IClrProgramItem, ICustomAttributeProvider
! #if CONFIG_SERIALIZATION
        , ISerializable
  #endif
***************
*** 213,216 ****
--- 213,218 ----
                        }
  
+ #if CONFIG_SERIALIZATION
+ 
        // Get the serialization data for this module.
        [TODO]
***************
*** 224,227 ****
--- 226,231 ----
                                // TODO
                        }
+ 
+ #endif // CONFIG_SERIALIZATION
  
        // A type filter that searches on name.

Index: Pointer.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Pointer.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Pointer.cs  23 Apr 2003 05:39:49 -0000      1.2
--- Pointer.cs  26 May 2003 04:41:21 -0000      1.3
***************
*** 28,32 ****
  
  [CLSCompliant(false)]
! public unsafe sealed class Pointer : ISerializable
  {
        // Internal state.
--- 28,35 ----
  
  [CLSCompliant(false)]
! public unsafe sealed class Pointer
! #if CONFIG_SERIALIZATION
!       : ISerializable
! #endif
  {
        // Internal state.
***************
*** 68,71 ****
--- 71,76 ----
                        }
  
+ #if CONFIG_SERIALIZATION
+ 
        // Implement the ISerializable interface.
        void ISerializable.GetObjectData(SerializationInfo info,
***************
*** 75,78 ****
--- 80,85 ----
                                        (_("NotSupp_SerializePointer"));
                        }
+ 
+ #endif
  
  }; // class Pointer

Index: ReflectionTypeLoadException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ReflectionTypeLoadException.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ReflectionTypeLoadException.cs      19 Apr 2003 04:03:04 -0000      1.1
--- ReflectionTypeLoadException.cs      26 May 2003 04:41:21 -0000      1.2
***************
*** 29,34 ****
  
  [Serializable]
! public sealed class ReflectionTypeLoadException
!       : SystemException, ISerializable
  {
        // Internal state.
--- 29,36 ----
  
  [Serializable]
! public sealed class ReflectionTypeLoadException : SystemException
! #if CONFIG_SERIALIZATION
!       , ISerializable
! #endif
  {
        // Internal state.
***************
*** 46,52 ****
--- 48,56 ----
                                this.exceptions = exceptions;
                        }
+ #if CONFIG_SERIALIZATION
        internal ReflectionTypeLoadException(SerializationInfo info,
                                                                                
 StreamingContext context)
                        : base(info, context) {}
+ #endif
  
        // Exception properties.
***************
*** 84,87 ****
--- 88,93 ----
                        }
  
+ #if CONFIG_SERIALIZATION
+ 
        // Implement the ISerializable interface.
        public override void GetObjectData(SerializationInfo info,
***************
*** 92,95 ****
--- 98,103 ----
                                info.AddValue("Exceptions", exceptions, 
typeof(Exception[]));
                        }
+ 
+ #endif
  
  }; // class ReflectionTypeLoadException

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

Index: TargetInvocationException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/TargetInvocationException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** TargetInvocationException.cs        15 Apr 2003 11:22:32 -0000      1.7
--- TargetInvocationException.cs        26 May 2003 04:41:21 -0000      1.8
***************
*** 40,44 ****
        public TargetInvocationException(Exception inner)
                : base(_("Exception_TargetInvoke"), inner) {}
! #if !ECMA_COMPAT
        internal TargetInvocationException(SerializationInfo info,
                                                                           
StreamingContext context)
--- 40,44 ----
        public TargetInvocationException(Exception inner)
                : base(_("Exception_TargetInvoke"), inner) {}
! #if CONFIG_SERIALIZATION
        internal TargetInvocationException(SerializationInfo info,
                                                                           
StreamingContext context)

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





reply via email to

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