added missing [Serializable] attribute
authorPiers Haken <piers@mono-cvs.ximian.com>
Mon, 1 Apr 2002 20:22:40 +0000 (20:22 -0000)
committerPiers Haken <piers@mono-cvs.ximian.com>
Mon, 1 Apr 2002 20:22:40 +0000 (20:22 -0000)
svn path=/trunk/mcs/; revision=3540

204 files changed:
mcs/class/System/System.CodeDom/CodeArrayCreateExpression.cs
mcs/class/System/System.CodeDom/CodeAssignStatement.cs
mcs/class/System/System.CodeDom/CodeAttachEventStatement.cs
mcs/class/System/System.CodeDom/CodeAttributeArgument.cs
mcs/class/System/System.CodeDom/CodeAttributeArgumentCollection.cs
mcs/class/System/System.CodeDom/CodeAttributeDeclaration.cs
mcs/class/System/System.CodeDom/CodeAttributeDeclarationCollection.cs
mcs/class/System/System.CodeDom/CodeBaseReferenceExpression.cs
mcs/class/System/System.CodeDom/CodeBinaryOperatorExpression.cs
mcs/class/System/System.CodeDom/CodeCastExpression.cs
mcs/class/System/System.CodeDom/CodeCatchClause.cs
mcs/class/System/System.CodeDom/CodeCatchClauseCollection.cs
mcs/class/System/System.CodeDom/CodeCommentStatement.cs
mcs/class/System/System.CodeDom/CodeConstructor.cs
mcs/class/System/System.CodeDom/CodeDelegateCreateExpression.cs
mcs/class/System/System.CodeDom/CodeDelegateInvokeExpression.cs
mcs/class/System/System.CodeDom/CodeExpression.cs
mcs/class/System/System.CodeDom/CodeFieldReferenceExpression.cs
mcs/class/System/System.CodeDom/CodeIndexerExpression.cs
mcs/class/System/System.CodeDom/CodeLinePragma.cs
mcs/class/System/System.CodeDom/CodeMemberEvent.cs
mcs/class/System/System.CodeDom/CodeMemberMethod.cs
mcs/class/System/System.CodeDom/CodeMemberProperty.cs
mcs/class/System/System.CodeDom/CodeMethodInvokeExpression.cs
mcs/class/System/System.CodeDom/CodeNamespace.cs
mcs/class/System/System.CodeDom/CodeNamespaceImport.cs
mcs/class/System/System.CodeDom/CodeNamespaceImportCollection.cs
mcs/class/System/System.CodeDom/CodeObject.cs
mcs/class/System/System.CodeDom/CodeObjectCreateExpression.cs
mcs/class/System/System.CodeDom/CodeParameterDeclarationExpression.cs
mcs/class/System/System.CodeDom/CodeParameterDeclarationExpressionCollection.cs
mcs/class/System/System.CodeDom/CodePrimitiveExpression.cs
mcs/class/System/System.CodeDom/CodePropertyReferenceExpression.cs
mcs/class/System/System.CodeDom/CodeStatement.cs
mcs/class/System/System.CodeDom/CodeStatementCollection.cs
mcs/class/System/System.CodeDom/CodeThisReferenceExpression.cs
mcs/class/System/System.CodeDom/CodeThrowExceptionStatement.cs
mcs/class/System/System.CodeDom/CodeTryCatchFinallyStatement.cs
mcs/class/System/System.CodeDom/CodeTypeDeclaration.cs
mcs/class/System/System.CodeDom/CodeTypeMember.cs
mcs/class/System/System.CodeDom/CodeTypeOfExpression.cs
mcs/class/System/System.CodeDom/CodeTypeReferenceExpression.cs
mcs/class/System/System.CodeDom/CodeVariableDeclarationStatement.cs
mcs/class/System/System.Collections.Specialized/ListDictionary.cs
mcs/class/System/System.Collections.Specialized/NameObjectCollectionBase.cs
mcs/class/System/System.Collections.Specialized/NameValueCollection.cs
mcs/class/System/System.Collections.Specialized/StringCollection.cs
mcs/class/System/System.Text.RegularExpressions/collections.cs
mcs/class/System/System.Text.RegularExpressions/match.cs
mcs/class/System/System.Text.RegularExpressions/regex.cs
mcs/class/System/System/Uri.cs
mcs/class/corlib/System.Collections/ArrayList.cs
mcs/class/corlib/System.Collections/BitArray.cs
mcs/class/corlib/System.Collections/CaseInsensitiveComparer.cs
mcs/class/corlib/System.Collections/CaseInsensitiveHashCodeProvider.cs
mcs/class/corlib/System.Collections/CollectionBase.cs
mcs/class/corlib/System.Collections/Comparer.cs
mcs/class/corlib/System.Collections/DictionaryBase.cs
mcs/class/corlib/System.Collections/DictionaryEntry.cs
mcs/class/corlib/System.Collections/Hashtable.cs
mcs/class/corlib/System.Collections/Queue.cs
mcs/class/corlib/System.Collections/ReadOnlyCollectionBase.cs
mcs/class/corlib/System.Collections/SortedList.cs
mcs/class/corlib/System.Collections/Stack.cs
mcs/class/corlib/System.Configuration.Assemblies/AssemblyHash.cs
mcs/class/corlib/System.Diagnostics/ConditionalAttribute.cs
mcs/class/corlib/System.Diagnostics/StackFrame.cs
mcs/class/corlib/System.Diagnostics/StackTrace.cs
mcs/class/corlib/System.Globalization/CultureInfo.cs
mcs/class/corlib/System.Globalization/DateTimeFormatInfo.cs
mcs/class/corlib/System.Globalization/DaylightTime.cs
mcs/class/corlib/System.Globalization/NumberFormatInfo.cs
mcs/class/corlib/System.Globalization/RegionInfo.cs
mcs/class/corlib/System.IO/BinaryWriter.cs
mcs/class/corlib/System.IO/DirectoryInfo.cs
mcs/class/corlib/System.IO/DirectoryNotFoundException.cs
mcs/class/corlib/System.IO/FileInfo.cs
mcs/class/corlib/System.IO/FileNotFoundException.cs
mcs/class/corlib/System.IO/FileSystemInfo.cs
mcs/class/corlib/System.IO/MemoryStream.cs
mcs/class/corlib/System.IO/StreamReader.cs
mcs/class/corlib/System.IO/StreamWriter.cs
mcs/class/corlib/System.IO/StringReader.cs
mcs/class/corlib/System.IO/StringWriter.cs
mcs/class/corlib/System.IO/TextReader.cs
mcs/class/corlib/System.IO/TextWriter.cs
mcs/class/corlib/System.Reflection.Emit/EventToken.cs
mcs/class/corlib/System.Reflection.Emit/FieldToken.cs
mcs/class/corlib/System.Reflection.Emit/Label.cs
mcs/class/corlib/System.Reflection.Emit/MethodToken.cs
mcs/class/corlib/System.Reflection.Emit/ParameterToken.cs
mcs/class/corlib/System.Reflection.Emit/PropertyToken.cs
mcs/class/corlib/System.Reflection.Emit/SignatureHelper.cs
mcs/class/corlib/System.Reflection.Emit/SignatureToken.cs
mcs/class/corlib/System.Reflection.Emit/StringToken.cs
mcs/class/corlib/System.Reflection.Emit/TypeToken.cs
mcs/class/corlib/System.Reflection.Emit/UnmanagedMarshal.cs
mcs/class/corlib/System.Reflection/AmbiguousMatchException.cs
mcs/class/corlib/System.Reflection/Assembly.cs
mcs/class/corlib/System.Reflection/AssemblyName.cs
mcs/class/corlib/System.Reflection/Binder.cs
mcs/class/corlib/System.Reflection/ConstructorInfo.cs
mcs/class/corlib/System.Reflection/DefaultMemberAttribute.cs
mcs/class/corlib/System.Reflection/FieldInfo.cs
mcs/class/corlib/System.Reflection/MemberInfo.cs
mcs/class/corlib/System.Reflection/MethodBase.cs
mcs/class/corlib/System.Reflection/Module.cs
mcs/class/corlib/System.Reflection/ParameterInfo.cs
mcs/class/corlib/System.Reflection/PropertyInfo.cs
mcs/class/corlib/System.Reflection/TargetInvocationException.cs
mcs/class/corlib/System.Reflection/TypeDelegator.cs
mcs/class/corlib/System.Resources/MissingManifestResourceException.cs
mcs/class/corlib/System.Runtime.CompilerServices/IndexerNameAttribute.cs
mcs/class/corlib/System.Runtime.CompilerServices/MethodImplAttribute.cs
mcs/class/corlib/System.Runtime.CompilerServices/RuntimeHelpers.cs
mcs/class/corlib/System.Runtime.Remoting.Contexts/ContextAttribute.cs
mcs/class/corlib/System.Runtime.Remoting.Messaging/Header.cs
mcs/class/corlib/System.Runtime.Remoting.Messaging/LogicalCallContext.cs
mcs/class/corlib/System.Runtime.Remoting/ObjRef.cs
mcs/class/corlib/System.Runtime.Serialization/SerializationException.cs
mcs/class/corlib/System.Runtime.Serialization/StreamingContext.cs
mcs/class/corlib/System.Security.Cryptography/CryptographicException.cs
mcs/class/corlib/System.Security.Cryptography/CryptographicUnexpectedOperationExcpetion.cs
mcs/class/corlib/System.Security.Cryptography/DSAParameters.cs
mcs/class/corlib/System.Security.Cryptography/RSAParameters.cs
mcs/class/corlib/System.Security.Cryptography/X509Certificates.cs
mcs/class/corlib/System.Security.Permissions/CodeAccessSecurityAttribute.cs
mcs/class/corlib/System.Security.Permissions/SecurityAttribute.cs
mcs/class/corlib/System.Security.Permissions/SecurityPermission.cs
mcs/class/corlib/System.Security.Policy/Evidence.cs
mcs/class/corlib/System.Security.Policy/PolicyStatement.cs
mcs/class/corlib/System.Security.Principal/GenericIdentity.cs
mcs/class/corlib/System.Security.Principal/GenericPrincipal.cs
mcs/class/corlib/System.Security/CodeAccessPermission.cs
mcs/class/corlib/System.Security/NamedPermissionSet.cs
mcs/class/corlib/System.Security/PermissionSet.cs
mcs/class/corlib/System.Security/SecurityElement.cs
mcs/class/corlib/System.Security/SecurityException.cs
mcs/class/corlib/System.Security/VerificationException.cs
mcs/class/corlib/System.Security/XmlSyntaxException.cs
mcs/class/corlib/System.Text/ASCIIEncoding.cs
mcs/class/corlib/System.Text/Decoder.cs
mcs/class/corlib/System.Text/Encoder.cs
mcs/class/corlib/System.Text/Encoding.cs
mcs/class/corlib/System.Text/StringBuilder.cs
mcs/class/corlib/System.Text/UTF8Encoding.cs
mcs/class/corlib/System.Text/UnicodeEncoding.cs
mcs/class/corlib/System.Threading/LockCookie.cs
mcs/class/corlib/System.Threading/SynchronizationLockException.cs
mcs/class/corlib/System.Threading/ThreadAbortException.cs
mcs/class/corlib/System.Threading/ThreadInterruptedException.cs
mcs/class/corlib/System.Threading/ThreadStateException.cs
mcs/class/corlib/System/AppDomainSetup.cs
mcs/class/corlib/System/ArgumentException.cs
mcs/class/corlib/System/ArgumentNullException.cs
mcs/class/corlib/System/ArgumentOutOfRangeException.cs
mcs/class/corlib/System/Array.cs
mcs/class/corlib/System/AttributeUsage.cs
mcs/class/corlib/System/Byte.cs
mcs/class/corlib/System/CLSCompliantAttribute.cs
mcs/class/corlib/System/Char.cs
mcs/class/corlib/System/ContextBoundObject.cs
mcs/class/corlib/System/DateTime.cs
mcs/class/corlib/System/Decimal.cs
mcs/class/corlib/System/DivideByZeroException.cs
mcs/class/corlib/System/Double.cs
mcs/class/corlib/System/DuplicateWaitObjectException.cs
mcs/class/corlib/System/EventArgs.cs
mcs/class/corlib/System/ExecutionEngineException.cs
mcs/class/corlib/System/FlagsAttribute.cs
mcs/class/corlib/System/FormatException.cs
mcs/class/corlib/System/IndexOutOfRangeException.cs
mcs/class/corlib/System/Int16.cs
mcs/class/corlib/System/Int32.cs
mcs/class/corlib/System/Int64.cs
mcs/class/corlib/System/IntPtr.cs
mcs/class/corlib/System/InvalidCastException.cs
mcs/class/corlib/System/InvalidProgramException.cs
mcs/class/corlib/System/MarshalByRefObject.cs
mcs/class/corlib/System/MulticastNotSupportedException.cs
mcs/class/corlib/System/NotFiniteNumberException.cs
mcs/class/corlib/System/NotImplementedException.cs
mcs/class/corlib/System/NotSupportedException.cs
mcs/class/corlib/System/NullReferenceException.cs
mcs/class/corlib/System/OperatingSystem.cs
mcs/class/corlib/System/OutOfMemoryException.cs
mcs/class/corlib/System/OverflowException.cs
mcs/class/corlib/System/Random.cs
mcs/class/corlib/System/RankException.cs
mcs/class/corlib/System/RuntimeFieldHandle.cs
mcs/class/corlib/System/RuntimeMethodHandle.cs
mcs/class/corlib/System/SByte.cs
mcs/class/corlib/System/Single.cs
mcs/class/corlib/System/StackOverflowException.cs
mcs/class/corlib/System/String.cs
mcs/class/corlib/System/ThreadStaticAttribute.cs
mcs/class/corlib/System/Type.cs
mcs/class/corlib/System/TypeInitializationException.cs
mcs/class/corlib/System/UInt16.cs
mcs/class/corlib/System/UInt32.cs
mcs/class/corlib/System/UInt64.cs
mcs/class/corlib/System/UIntPtr.cs
mcs/class/corlib/System/UnhandledExceptionEventArgs.cs
mcs/class/corlib/System/Void.cs

index 17a4a455db3e56c4c6affdb3cb034052c591c008..6fd273a9271252d54ead90e7443725fb71aee6a7 100755 (executable)
@@ -8,6 +8,7 @@
 //
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeArrayCreateExpression : CodeExpression {
                string createType;
                CodeExpressionCollection initializers;
index 0e1bb9750adbe364afc44e4e88d47e3551673ef8..7e64e1b54574a4eb57a2387d7f9f6553ea029e87 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeAssignStatement : CodeStatement {
 
                CodeExpression left, right;
index d85a61d8ea96f51b6d5ae6e71dae4635d028ed21..5f3e58b20335b9e245da32656dc3a180d5e9fcbf 100755 (executable)
@@ -8,6 +8,7 @@
 //
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeAttachEventStatement : CodeStatement {
                CodeExpression targetObject;
                string eventName;
index 50fa7efcd6efc2c93ce85bfd89b595588742b2eb..ead0eb3c9689eb685a8990804392d29ff9ecf8fb 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeAttributeArgument {
                string name;
                CodeExpression val;
index d318732320a7ca8d1eb719e96c7cdbaeb6ed353e..2dbe445a0ecaa76cdb11573ba8a9449b01f25833 100755 (executable)
@@ -11,6 +11,7 @@ namespace System.CodeDom {
 
        using System.Collections;
        
+       [Serializable]
        public class CodeAttributeArgumentCollection : IList, ICollection, IEnumerable {
 
                ArrayList attributeArgs;
index 8c9105ce236f7a19c04b478cdf4d494baf8b912c..2d51f556f855dc1559c4fb3744ef24c97adfaaf5 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeAttributeDeclaration {
 
                string name;
index 48aa3b48965d4c2a121d70f6b05109b051ef00b7..f387a1f38fce31fd288e1a18f92636d629282980 100755 (executable)
@@ -11,6 +11,7 @@ namespace System.CodeDom {
 
        using System.Collections;
        
+       [Serializable]
        public class CodeAttributeDeclarationCollection : IList, ICollection, IEnumerable {
 
                ArrayList attributeDecls;
index dee01e013af2ad76a241ae712592628c952c75d1..12f71c4c6a435754a3f03d8816d5575825c2bec7 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeBaseReferenceExpression : CodeExpression {
                public CodeBaseReferenceExpression () {}
        }
index 775b29bf90fe7cbcae8db82f461b2dd844704a43..82e2070e375b977cad88d9e11f9629a3a923ebaa 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeBinaryOperatorExpression : CodeExpression {
 
                CodeExpression left, right;
index 3c3bef5104242429ddf4d217b974e39e56f5c338..824c1060e28b928b99de8bf9cd6dd26633308041 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeCastExpression : CodeExpression {
                string targetType;
                CodeExpression expression;
index 4af7a18f4a2ca59061c5768f15d8e9a155b6ff7c..3933287e2e17779aaa68b3ab643d2d062d15df13 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeCatchClause {
 
                CodeParameterDeclarationExpression condition;
index 7b4a284bac5c57c52c25e5da31d5a74752bfdadb..3f1f83ae54506ccab336f2b144e1e3673fb09d6a 100755 (executable)
@@ -11,6 +11,7 @@ namespace System.CodeDom {
 
        using System.Collections;
        
+       [Serializable]
        public class CodeCatchClauseCollection : IList, ICollection, IEnumerable {
 
                ArrayList catchClauses;
index 9dba6528a7029e6ee326104d41e45c717567db4b..29dd86d87541d11ad4a124e6f7cfb18a3d3ffb33 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeCommentStatement : CodeStatement {
                string text;
                
index 0d6a707ac151afccceb511de9f1d34c1f25c5945..f3955ef33a2f13627506df3a5b264988fb1222db 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeConstructor : CodeMemberMethod {
                CodeExpressionCollection baseConstructorArgs;
                CodeExpressionCollection chainedConstructorArgs;
index c27c140c29ff13205d1ff4a6a1cf457f8692ed8f..504d53f59dff9ab58b099c575d47dd774a2e92f9 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeDelegateCreateExpression : CodeExpression {
                string delegateType, methodName;
                CodeExpression targetObject;
index 9b918c4cd0bff7dfa9e9aa6eb7d766228aa6005e..3a94cdfcfb48fe81a997d92a7c8842caf3b405e0 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeDelegateInvokeExpression : CodeExpression {
                CodeExpressionCollection parameters;
                CodeExpression targetObject;
index f140c9d0d5ec0e32487f0fa051ed416910606339..0a7e890c718b913df7c7a7f57e1056f0fa8d1c3f 100755 (executable)
@@ -9,7 +9,8 @@
 
 namespace System.CodeDom {
 
-       public class CodeExpression {
+       [Serializable]
+       public class CodeExpression : CodeObject {
                object userData;
                
                //
index 66581e84f229a6cba0d1be42efd375e9568f9c34..7cc7fda7eb1bce36033f6022b4e23fc7c20ee4d5 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeFieldReferenceExpression : CodeExpression {
                CodeExpression targetObject;
                string fieldName;
index 8dbc95b44a2737655b3309a6a7de1895b704353c..a20ed674713f4641e66114e7f91b7138ec173d70 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeIndexerExpression : CodeExpression {
                CodeExpression targetObject;
                CodeExpression index;
index d83a9f6c8c5e1336996ebdd867d5f552df972a5a..4240e65b63ff4242ee5d13da231a5b09aa050fd8 100755 (executable)
@@ -14,6 +14,7 @@ namespace System.CodeDom {
        //    Use objects of this class to keep track of locations where
        //    statements are defined
        // </summary>
+       [Serializable]
        public class CodeLinePragma {
                string fileName;
                int    lineNumber;
index 46f1fee42d980da6dbe025217af80130fd14938c..7be21795c9711d2f5b95c14a035c8a922a0602fc 100755 (executable)
@@ -9,7 +9,8 @@
 
 namespace System.CodeDom {
 
-       public class CodeMemberEvent : CodeClassMember {
+       [Serializable]
+       public class CodeMemberEvent : CodeTypeMember {
                string implementsType, type;
                bool   privateImplements;
                
index aa417a2aeeefa0b86dd674db941d15087bb44ac5..e3631ae42f9e9871c1ccc43a8221630873806f9d 100755 (executable)
@@ -9,7 +9,8 @@
 
 namespace System.CodeDom {
 
-       public class CodeMemberMethod : CodeClassMember {
+       [Serializable]
+       public class CodeMemberMethod : CodeTypeMember {
                CodeParameterDeclarationExpressionCollection parameters;
                CodeStatementCollection statements;
                string implementsType;
index 8889de098a09574d75fd2d6455deb69fd28bfe9c..79b3d897f5be6c8666efb2414cdda4c6c60640ab 100755 (executable)
@@ -9,7 +9,8 @@
 
 namespace System.CodeDom {
 
-       public class CodeMemberProperty : CodeClassMember {
+       [Serializable]
+       public class CodeMemberProperty : CodeTypeMember {
                CodeParameterDeclarationExpressionCollection parameters;
                CodeStatementCollection getStatements, setStatements;
                bool hasGet, hasSet;
index cb51ff9b5d4fcfd04138cc66aa53f84dccf2f737..3d31ade2d7660dcecb3b2bcccb8306d52af679b9 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeMethodInvokeExpression : CodeExpression {
                string methodName;
                CodeExpression targetObject;
index 0794653cfd8426d392f981307a6c6d484706d097..53844097a64b6b482391e995a5018c6913056097 100755 (executable)
@@ -9,7 +9,8 @@
 
 namespace System.CodeDom {
 
-       public class CodeNamespace {
+       [Serializable]
+       public class CodeNamespace : CodeObject {
                CodeClassCollection classes;
                CodeNamespaceImportCollection imports;
                bool allowLateBound, requireVariableDeclaration;
index d13767c588e48114d8aa86300cb77fe459a99b36..2f93de1a2f040640f2836456e3b3155a745c444d 100755 (executable)
@@ -9,7 +9,8 @@
 
 namespace System.CodeDom {
 
-       public class CodeNamespaceImport : CodeStatement {
+       [Serializable]
+       public class CodeNamespaceImport : CodeObject {
                string nameSpace;
                
                public CodeNamespaceImport () {}
index d65ee247c4d02e276a6e72e0366c4a54d4e81577..b86cd19fa423af4944372bb762520dbc7f2a0fa0 100755 (executable)
@@ -11,6 +11,7 @@ namespace System.CodeDom {
 
        using System.Collections;
        
+       [Serializable]
        public class CodeNamespaceImportCollection : IList, ICollection, IEnumerable {
 
                ArrayList namespaceImports;
index b337390eaf49343d0c17f1f2fc506975fd8e2a05..28320578b0ac284b02cdb727f270c6ea1bbc285b 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom
 {
+       [Serializable]
        public class CodeObject
        {
        }
index 421d2aa29de4e013f56b82c352bc357587cd5737..b144c88783682ec70dccceebf22393655150c106 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeObjectCreateExpression : CodeExpression {
                string createType;
                CodeExpressionCollection parameters;
index 93f4b0ee7b0cb7275ea22d64cc1492c0c986e8a8..4db95319dbfa7e97b936728ee2399f7774a0eb7b 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeParameterDeclarationExpression : CodeExpression {
                FieldDirection direction;
                CodeAttributeBlock customAttributes;
index 970e9ec78e71b75e65097de1b7211260b90f8971..713c3ed7da3ad7dcf13692f7c7401229ac5f9307 100755 (executable)
@@ -11,6 +11,7 @@ namespace System.CodeDom {
 
        using System.Collections;
        
+       [Serializable]
        public class CodeParameterDeclarationExpressionCollection : IList, ICollection, IEnumerable {
 
                ArrayList parameterDeclExprs;
index 98d64e3ae0aabd8d4b813c8329add7d4f606fa67..ace039075e7baa791e8d1b44435210f1806d44fc 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodePrimitiveExpression : CodeExpression {
                object value;
                
index 13f4471ce0c6ad771e4589599545244cda52e6d8..bcaf37ac1ec749a25f034dd7eaf6afd7eccca552 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodePropertyReferenceExpression : CodeExpression {
                CodeExpressionCollection parameters;
                CodeExpression targetObject;
index d75c9b4c1a4f3069cea5165bc87d9f531fa1f605..eef55f216154ce5bc2d5c06b69f8861550663484 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom
 {
+       [Serializable]
        public class CodeStatement : CodeObject
        {
        }
index 6a70aeafd2a58f5a2daf23b8cd3ebca3dcb1b56e..dfa24764acb6becd411feed0700ea985db47d44f 100755 (executable)
@@ -11,6 +11,7 @@ namespace System.CodeDom {
 
        using System.Collections;
        
+       [Serializable]
        public class CodeStatementCollection : IList, ICollection, IEnumerable {
 
                ArrayList statements;
index 4084e04f7b27900bdb01a5e211ff9774d01006a7..65d60718136b9144f56a6ce84ccb7e8f13aa6ce5 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeThisReferenceExpression : CodeExpression {
                public CodeThisReferenceExpression () { }
        }
index 4b3071515be9227bb59d9e35d80b4510a105cb8d..49638514a0c23de53a3f9f2189c6153b6eef402f 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeThrowExceptionStatement : CodeStatement {
                CodeExpression toThrow;
                
index 2ad078a9d4e6755fbea63b321d28092d8605779e..d0a9e74fec2bd6cbaf9c20299aba48befad42dde 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeTryCatchFinallyStatement : CodeStatement {
                CodeStatementCollection tryStatements, finallyStatements;
                CodeCatchClauseCollection catchClauses;
index df75140f8b5b39db25f5dfac21721b9a8c397906..ce4a24db776c556572e136cb70e1d23b660cccce 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom
 {
+       [Serializable]
        public class CodeTypeDeclaration : CodeTypeMember
        {
        }
index 0aafef744d73da8cbc6dafa90e5f00e068c7a9c4..fefc6ce4e1b02b7f88e4a63f14f6a84c3f4c9864 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom
 {
+       [Serializable]
        public class CodeTypeMember : CodeObject {
                private string name;
 
index 3a496f9592333cc564c2b7f6b2b07a6bc3808833..2de1561244c0c34b5f9112b3532c2c498c185b1b 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeTypeOfExpression : CodeExpression {
                string type;
                        
index 8fcbc04ef7786ec1afed7a2e269f7272570fff53..3fdb568e292ea94818dd2b9f1edacc5d2943e155 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeTypeReferenceExpression : CodeExpression {
                string type;
                
index faff810835f51f49e382081cec16fb62c8b45572..497f5e664a32eb28a0dca2336b2657862108d597 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.CodeDom {
 
+       [Serializable]
        public class CodeVariableDeclarationStatement : CodeStatement  {
                CodeExpression initExpression;
                string type, name;
index bb305f26e6450c2a6582f83e19c824a3ed892466..2dfef87da8a853eb59fbeb9b89549d88e4026389 100644 (file)
@@ -1,5 +1,6 @@
 namespace System.Collections.Specialized\r
 {\r
+       [Serializable]\r
        public class ListDictionary : IDictionary, ICollection, IEnumerable\r
        {\r
                private int count;\r
index 8a70ae7392d21c8d4eed5b557b1559c4cd000176..d9406ba0e1af69f5c208038a044c35743fa8a3bf 100644 (file)
@@ -10,6 +10,7 @@ using System.Runtime.Serialization;
 \r
 namespace System.Collections.Specialized\r
 {\r
+       [Serializable]\r
        public abstract class NameObjectCollectionBase : ICollection, IEnumerable, ISerializable, IDeserializationCallback\r
        {\r
                private Hashtable m_ItemsContainer;\r
@@ -44,6 +45,7 @@ namespace System.Collections.Specialized
                /// <summary>\r
                /// Implements IEnumerable interface for KeysCollection\r
                /// </summary>\r
+               [Serializable]\r
                internal protected /*?*/ class _KeysEnumerator : IEnumerator\r
                {\r
                        private NameObjectCollectionBase m_collection;\r
index 1b288b2d06d1e08eddb62c16156eb2093ed85e6f..ed12b672b178772412ec557130d8ab8d61d8d608 100644 (file)
@@ -11,6 +11,7 @@ using System.Runtime.Serialization;
 using System.Text;
 
 namespace System.Collections.Specialized{
+       [Serializable]
        public class NameValueCollection : NameObjectCollectionBase
        {
                string[] cachedAllKeys = null;
index d1c8410030d8946f92a8573bb3de042e265351ab..120468812f2aca13e96839428ffdf6795c4407c5 100755 (executable)
@@ -14,6 +14,7 @@
 using System;\r
 \r
 namespace System.Collections.Specialized {\r
+       [Serializable]\r
        public class StringCollection : IList, ICollection, IEnumerable {\r
                private static int   InitialCapacity    = 11;\r
                private static float CapacityMultiplier = 2.0f;\r
index 11db0ea6105cde5172d7fda7a3b1e1ca1264d12d..893ff1b3efbb5580ab2160bfa512ff75fa24f89b 100644 (file)
@@ -87,6 +87,7 @@ namespace System.Text.RegularExpressions {
                protected ArrayList list;\r
        }\r
 \r
+       [Serializable]\r
        public class CaptureCollection : RegexCollectionBase, ICollection, IEnumerable {\r
                public Capture this[int i] {\r
                        get { return (Capture)list[i]; }\r
index 7bc3d70cf38475b2d12428db7a0eeb90f0a8cfdf..5d41928ac512e28c889ff23565b0daafda05db4d 100644 (file)
@@ -10,6 +10,7 @@ using System;
 \r
 namespace System.Text.RegularExpressions {\r
 \r
+       [Serializable]\r
        public class Capture {\r
                public int Index {\r
                        get {\r
index 26fb8f4f8472812d7703ce88cae539fe58e7b855..dd377e95bae216bf0a47070a8ccdf8dbb83d822e 100644 (file)
@@ -33,6 +33,7 @@ namespace System.Text.RegularExpressions {
                ECMAScript                      = 0x100\r
        }\r
        \r
+       [Serializable]\r
        public class Regex : ISerializable {\r
                public static void CompileToAssembly\r
                        (RegexCompilationInfo[] regexes, AssemblyName aname)\r
index 6410ed63357cdce3a5f1787e0e16a7392969516a..64b2dc4705d6730031cf5c171287f7829667f5d0 100755 (executable)
@@ -11,6 +11,7 @@ using System.Runtime.Serialization;
 
 namespace System {
 
+       [Serializable]
        public class Uri : MarshalByRefObject, ISerializable {
 
                private string path = "";
index 7c7bb8bc734e0e0e39b175876468c966ac5495ef..2dfc0ae7f046f62373d4deb401ea4101c9344545 100644 (file)
@@ -11,6 +11,7 @@ using System;
 \r
 namespace System.Collections {\r
 \r
+       [Serializable]\r
        public class ArrayList : IList, ICollection, IEnumerable, ICloneable {\r
                // constructors\r
 \r
@@ -331,6 +332,7 @@ namespace System.Collections {
                        System.Array.Copy (dataArray, index, array, arrayIndex, count);\r
                }\r
 \r
+               [Serializable]\r
                private class ArrayListEnumerator : IEnumerator {\r
                        private object[] data;\r
                        private int idx;\r
index 049b9b6ac56cbde448333243cb635a2bedfd12b1..3c3ad95dd0d5c7a63e6b50cbdd4c434fc180f10d 100644 (file)
@@ -3,6 +3,7 @@ using System;
 namespace System.Collections
 {
   // do we really need to specify IEnumerable since ICollection extends it?
+  [Serializable]
   public class BitArray : ICollection, IEnumerable, ICloneable
   {
     private Int32[] m_array;
index 4a572780a02088f51af79a7f6134257626b349ad..73e1d9f6b2006193f22e204c60adc420a98bda76 100644 (file)
@@ -14,6 +14,7 @@ using System.Collections;
 \r
 namespace System.Collections {\r
 \r
+       [Serializable]\r
        public class CaseInsensitiveComparer : IComparer {\r
 \r
                private static CaseInsensitiveComparer singleton;\r
index 38dd1c97da39cd5d3769cbdf379cb11312b22b73..efa9e7690252d1798c5e28e2e7ec90bf2290cef7 100644 (file)
@@ -14,6 +14,7 @@ using System.Collections;
 \r
 namespace System.Collections {\r
 \r
+       [Serializable]\r
        public class CaseInsensitiveHashCodeProvider : IHashCodeProvider {\r
 \r
                private static CaseInsensitiveHashCodeProvider singleton;\r
index 1994a329e0ae57b3c8e14d9e717aca66f523daf1..cfa730ba9a8e4a959f75e07984b78a68eac74783 100644 (file)
@@ -11,6 +11,7 @@ using System;
 \r
 namespace System.Collections {\r
 \r
+       [Serializable]\r
        public abstract class CollectionBase : IList, ICollection, IEnumerable {\r
 \r
                // private instance properties\r
index ce4ce4202c607c87d9dc1416b7dbfbc7f8ef12ce..e3bfba0a47f337db199141875004752dc70700d8 100644 (file)
@@ -12,6 +12,7 @@ using System.Collections;
 \r
 namespace System.Collections {\r
 \r
+       [Serializable]\r
        public sealed class Comparer : IComparer {\r
 \r
                public static readonly Comparer Default;\r
index 5b40a990d6667367db4780b98eb869392da1ad49..d534749934366737382617c6c31251c121ac8e73 100755 (executable)
@@ -25,6 +25,7 @@ namespace System.Collections {
        ///   The `On' members are protected and designed to be used only by derived
        ///   classes.
        /// </remarks>
+       [Serializable]
        public abstract class DictionaryBase : IDictionary, ICollection, IEnumerable {
 
                Hashtable dictionary;
index d2261df0640fadacfe89d951a2bd557c309a1be0..e6cafab7cdadd72381504440bc43068cd9764c66 100644 (file)
@@ -2,6 +2,7 @@ using System;
 
 namespace System.Collections {
 
+       [Serializable]
        public struct DictionaryEntry {
                private object key;
                private object val;
index 16a233e1420ebfab82940ae382172aad91a1f18a..62b33bb3b6f008088ae7ea9c16927797eae78fe8 100644 (file)
@@ -18,6 +18,7 @@ using System.Runtime.Serialization;
 namespace System.Collections {\r
 \r
        [MonoTODO]\r
+       [Serializable]\r
        public class Hashtable : IDictionary, ICollection, \r
                IEnumerable, ICloneable, ISerializable\r
        {\r
index f9b17742fb4c0c4c71ef062f938fe293176559db..0102227074728214453d2f4f48e958e30b1363b8 100644 (file)
@@ -12,6 +12,7 @@ using System.Collections;
 \r
 namespace System.Collections {\r
 \r
+       [Serializable]\r
        public class Queue : ICollection, IEnumerable, ICloneable {\r
 \r
                private object[] contents;\r
@@ -282,6 +283,7 @@ namespace System.Collections {
                        }\r
                }\r
 \r
+               [Serializable]\r
                private class QueueEnumerator : IEnumerator {\r
                        Queue queue;\r
                        private int modCount;\r
index 89544feabdcc6cf294096a667c8c27fb0ceab912..10f5a69a5d01c6ef05c966719c203857044e47aa 100644 (file)
@@ -11,6 +11,7 @@ using System;
 \r
 namespace System.Collections {\r
 \r
+       [Serializable]\r
        public abstract class ReadOnlyCollectionBase : ICollection,     IEnumerable {\r
 \r
                // private instance properties\r
index 539ee8889114c68a2afdbedfc94677c664cffe94..98dc5f32a8dc5fcb1000656d85d2402d6608b1d9 100644 (file)
@@ -17,6 +17,7 @@ namespace System.Collections {
        ///  that are sorted by the keys and are accessible by key\r
        ///  and by index.\r
        /// </summary>\r
+       [Serializable]\r
        public class SortedList : IDictionary, ICollection,\r
                                  IEnumerable, ICloneable {\r
 \r
index f37aa2303c56a41034e2dc745899c4019bc807aa..005f381f7413064c4877ac21edbfc9c97a0d6fc2 100644 (file)
@@ -9,6 +9,7 @@
 \r
 namespace System.Collections {\r
 \r
+       [Serializable]\r
        public class Stack : ICollection, IEnumerable, ICloneable {\r
 \r
                // properties\r
@@ -45,6 +46,7 @@ namespace System.Collections {
                        contents = new object[capacity];\r
                }\r
 \r
+               [Serializable]\r
                private class SyncStack : Stack {\r
 \r
                        Stack stack;\r
index 70f539377cecaed4ce65fc0a14bdd73d10f1eaca..ffa152e639923c4183bdb6e8d0d3e78b5858ffcc 100644 (file)
@@ -12,6 +12,7 @@
 \r
 namespace System.Configuration.Assemblies {\r
    \r
+       [Serializable]\r
    public struct AssemblyHash : System.ICloneable\r
    {\r
       private AssemblyHashAlgorithm _algorithm;\r
index 1fd89a0f06d65920f56db43618797807860c6c86..b50bc078c4021d73568c53b34d402e14dd1e7a91 100644 (file)
@@ -10,6 +10,7 @@
 namespace System.Diagnostics \r
 {\r
 \r
+       [Serializable]\r
        public sealed class ConditionalAttribute : System.Attribute \r
        {\r
 \r
index 3482115fc69487c57921871a26170bb095050e46..a919eb6b9891fe4fc88842f59ae7da72aac2c735 100644 (file)
@@ -15,6 +15,7 @@ namespace System.Diagnostics {
         ///   Stack frame.
         ///   TODO: more information.
         /// </summary>
+               [Serializable]
         public class StackFrame {
                 /// <value>
                 ///   Constant returned when the native or IL offset is unknown.
index 50602fde6eeb83c0646ce070b658433c8979c375..8e45008b4564bf852f1b075e36998038f4d32438 100644 (file)
@@ -16,7 +16,8 @@ namespace System.Diagnostics {
         ///   Stack trace.
         ///   TODO: more information.
         /// </summary>
-        public class StackTrace {
+        [Serializable]
+       public class StackTrace {
                 /// <value>
                 ///   Uses a constant to define the number of methods that are
                 ///   to be omitted from the stack trace.
index b065280bd0fb8e0b9445444026c50cafd8d3caef..36ed5d91c658226fb5e6b59d45f73febbfc31b4e 100644 (file)
@@ -10,6 +10,7 @@ using System.Threading;
 
 namespace System.Globalization
 {
+       [Serializable]
        public class CultureInfo : IFormatProvider
        {
                static CultureInfo invariant_culture_info;
index 937527dbefa8f41285786c654e2c6402ea2bf533..5b45b1e490ce69d427aad4c55a7f2a64a9be326b 100644 (file)
@@ -13,6 +13,7 @@ using System.Threading;
 
 namespace System.Globalization \r
 {
+       [Serializable]
        public sealed class DateTimeFormatInfo : ICloneable, IFormatProvider {
                private static readonly string MSG_READONLY = "This instance is read only";\r
                private static readonly string MSG_ARRAYSIZE_MONTH = "An array with exactly 13 elements is needed";\r
index 384b509eb3b9e8349d371de2ab0d59ed6b4ad24f..64fc092f94fc6dd469bb73dc95e93d57df549af7 100755 (executable)
@@ -11,6 +11,7 @@ using System.Globalization;
 
 namespace System.Globalization
 {
+       [Serializable]
        public class DaylightTime
        {
                DateTime start, end;
index e3062012f81e05caeee82f4fec9618d39d2aa535..80c76a85ebae4f939e0a010c257cb9cbede5bddd 100644 (file)
@@ -22,6 +22,7 @@
 
 namespace System.Globalization {
 
+       [Serializable]
        public sealed class NumberFormatInfo : ICloneable, IFormatProvider {
                private bool readOnly;
                
index 54850f6ec8edc7ad980d01d3914fc5b9b73d5644..c5b21ab44516ef810b43725c4d939ef31e33b175 100644 (file)
@@ -2,6 +2,7 @@ using System.Globalization;
 
 namespace System.Globalization {
 
+       [Serializable]
        public class RegionInfo {
                int NLS_id;
 
index 7e184e18ef8e85fa933523255c30ed29a69d4040..d96a59ab6b8277eb10503d2687a18ac7140dfced 100755 (executable)
@@ -9,6 +9,7 @@ using System;
 using System.Text;
 
 namespace System.IO {
+       [Serializable]
        public class BinaryWriter : IDisposable {
                public static readonly BinaryWriter Null;
 
index 4b4b79580f74898e7514520decd7a1b1468b3e62..21d0329b5a924705acc327dfee013685caba432a 100644 (file)
@@ -15,6 +15,7 @@ using System.Collections;
 \r
 namespace System.IO {\r
        \r
+       [Serializable]
        public sealed class DirectoryInfo : FileSystemInfo {\r
        \r
                public DirectoryInfo (string path) {\r
index 9f91589bbc4a370db542ec9d183aebc7ce659c0f..2f8f3996c2a565c32f82525d7bccd98da3e4328b 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.IO {
 
+       [Serializable]
        public class DirectoryNotFoundException : IOException {
                // Constructors
                public DirectoryNotFoundException ()
index 4b82d069809ebfcf373e789d87a653f1a55aae50..67bba7536c1f4814e50e89478f34930b8806556a 100644 (file)
@@ -14,6 +14,7 @@ using System;
 \r
 namespace System.IO {\r
 \r
+       [Serializable]
        public sealed class FileInfo : FileSystemInfo {\r
        \r
                public FileInfo (string path) {\r
index 9ff8a57e158e4be63839c95335b0df4f02eea336..a3b3308367ef205f0e99875dc45bef3c1c4fd484 100755 (executable)
@@ -13,6 +13,7 @@ using System.Runtime.Serialization;
 
 namespace System.IO {
 
+       [Serializable]
        public class FileNotFoundException : IOException {
                private string fileName;
                private string fusionLog;
index 069591ecb037fb5c9fa2f7da49fc48fbfcda7334..b03e43395cdd6d6fa9c2fba974041f3e2b9bf69a 100644 (file)
@@ -14,6 +14,7 @@ using System;
 
 namespace System.IO {
        
+       [Serializable]
        public abstract class FileSystemInfo : MarshalByRefObject {
                // public properties
 
index c1cda25af2087e88576600c4055f43c6eeb144c3..407a453e1246d431523bafccce913b2e04671402 100644 (file)
@@ -7,6 +7,7 @@
 //\r
 \r
 namespace System.IO {\r
+               [Serializable]\r
         public class MemoryStream : Stream {\r
                 private bool canRead;\r
                 private bool canSeek;\r
index 73a86568598089407cafcb78e22bd267a8959b1f..3c0dd7d303724eaa9b013cea444c8f63ba1d1ebc 100644 (file)
@@ -11,7 +11,7 @@ using System;
 using System.Text;\r
 \r
 namespace System.IO {\r
-       \r
+       [Serializable]\r
        public class StreamReader : TextReader {\r
 \r
                // buffering members\r
index 612f6f22ad9e1af7e01053c1442bea9504a34817..147a5170f4b3d17de3abffe49bacb1941579a364 100644 (file)
@@ -11,6 +11,7 @@ using System.Text;
 \r
 namespace System.IO {\r
        \r
+               [Serializable]\r
         public class StreamWriter : TextWriter {\r
 \r
                private Encoding internalEncoding;\r
index 6384ec6cbe8291c158a2691b689827767f6c66ae..70df25ef1707b8305294e392253a9c83a4c999cc 100644 (file)
@@ -8,6 +8,7 @@
 using System;
 
 namespace System.IO {
+       [Serializable]
        public class StringReader : TextReader {
 
                protected string source;
index 39e80663c86d5d937a25e3b183606aaf5974e695..7e283b67b49cd7b704d57e5c4c11c16f38f15f8f 100644 (file)
@@ -7,6 +7,7 @@
 using System.Text;\r
 \r
 namespace System.IO {\r
+               [Serializable]\r
         public class StringWriter : TextWriter {\r
                 \r
                 protected StringBuilder internalString;\r
index d6ac7b70ad5412c2b52b7d8248f0b46ecd727726..5b7c6c00c1d14434f2d63d76dbd98f72d30fa9a2 100644 (file)
@@ -10,7 +10,7 @@ using System;
 \r
 namespace System.IO {\r
 \r
-       [MonoTODO]\r
+       [MonoTODO] [Serializable]\r
        public abstract class TextReader : MarshalByRefObject, IDisposable {\r
                \r
                protected TextReader() { }\r
index e6ad7761e2c7f177289be78e4b8d43a95a3f5d5a..af8319bc5e43867abcd7693ab581586dc6f997f1 100644 (file)
@@ -7,7 +7,7 @@
 \r
 namespace System.IO {\r
 \r
-       [MonoTODO]\r
+       [MonoTODO] [Serializable]\r
        public abstract class TextWriter : MarshalByRefObject, IDisposable {\r
                 \r
                 protected TextWriter() {\r
index ae077c0c7e025b6c51570fb43371c72bdaaa0a5d..4cc97be7ea1786bd1172918625d18797200b6fca 100644 (file)
@@ -9,6 +9,7 @@ namespace System.Reflection.Emit {
        /// <summary>
        ///  Represents the Token returned by the metadata to represent a Event.
        /// </summary>
+       [Serializable]
        public struct EventToken {
 
                internal int tokValue;
index dfb8435b9f13e5849b3b4ccf2fb3c7765a443694..b3f5a5dade179e342625a821da5ecb48e5a42c91 100644 (file)
@@ -9,6 +9,7 @@ namespace System.Reflection.Emit {
        /// <summary>
        ///  Represents the Token returned by the metadata to represent a Field.
        /// </summary>
+       [Serializable]
        public struct FieldToken {
 
                internal int tokValue;
index 7050f951dad12d8cf1689e974e4060bf832fdc45..19be26c6dea8a710fd643cf2a8fe06cfeb690813 100644 (file)
@@ -8,6 +8,7 @@
 //
 
 namespace System.Reflection.Emit {
+       [Serializable]
        public struct Label {
                internal int label;
 
index 8b97da8598034b7c2803cfcb7595ea9280698742..a08d4247571181f5655e98e87ece94c61c89546d 100644 (file)
@@ -9,6 +9,7 @@ namespace System.Reflection.Emit {
        /// <summary>
        ///  Represents the Token returned by the metadata to represent a Method.
        /// </summary>
+       [Serializable]
        public struct MethodToken {
 
                internal int tokValue;
index 460e08497cdd9a6d12f124149794753d2a016550..21d1895747db2b0e20fab9a797c13746041fea2c 100644 (file)
@@ -9,6 +9,7 @@ namespace System.Reflection.Emit {
        /// <summary>
        ///  Represents the Token returned by the metadata to represent a Parameter.
        /// </summary>
+       [Serializable]
        public struct ParameterToken {
 
                internal int tokValue;
index e883ec5a920f683126773b4834663b7a93b5c4a5..38216a239962686bbef1522494b5fdbe3f1ca68d 100644 (file)
@@ -9,6 +9,7 @@ namespace System.Reflection.Emit {
        /// <summary>
        ///  Represents the Token returned by the metadata to represent a Property.
        /// </summary>
+       [Serializable]
        public struct PropertyToken {
 
                internal int tokValue;
index 34974bbd38782a9c3a89f0e6d6b3362e6b362de4..40e3b566a22f5f9a51e8bd3667b0503f486dee3a 100755 (executable)
@@ -16,6 +16,7 @@ using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
 
 namespace System.Reflection.Emit {
+       [Serializable]
        public sealed class SignatureHelper {
                internal enum SignatureHelperType {
                        HELPER_FIELD,
index eebcba993639a229428e36237bd6da0336460b11..b8e7aa67bb59272cb695fc4baedf03972c81871d 100644 (file)
@@ -9,6 +9,7 @@ namespace System.Reflection.Emit {
        /// <summary>
        ///  Represents the Token returned by the metadata to represent a Signature.
        /// </summary>
+       [Serializable]
        public struct SignatureToken {
 
                internal int tokValue;
index 8e9295d0cb7548753d545242d15f373a556b11e2..a872b8967bdbcbe0fb73b5d0e5bc81e37d2b80cc 100644 (file)
@@ -9,6 +9,7 @@ namespace System.Reflection.Emit {
        /// <summary>
        ///  Represents the Token returned by the metadata to represent a String.
        /// </summary>
+       [Serializable]
        public struct StringToken {
 
                internal int tokValue;
index 4ac7fe2678be24c8d7652cad29b6666fdea45045..8fd6ae493b38cd98129c4f415794237735f8e1f8 100644 (file)
@@ -9,6 +9,7 @@ namespace System.Reflection.Emit {
        /// <summary>
        ///  Represents the Token returned by the metadata to represent a Type.
        /// </summary>
+       [Serializable]
        public struct TypeToken {
 
                internal int tokValue;
index ab033eb26e72a82c848caa5c8c5953bafd357bd4..aa724f2a26dba7d5b06e7516496979b579f31ab9 100755 (executable)
@@ -5,6 +5,7 @@ using System;
 
 namespace System.Reflection.Emit {
 
+       [Serializable]
        public sealed class UnmanagedMarshal {
                private int count;
                private UnmanagedType t;
index eb51070d13b21ea2444d968a3eb84bf8586da9a9..3bfc25fccd2880fbc3cbdfd746e58aed2d07f1b8 100755 (executable)
@@ -11,6 +11,7 @@ using System;
 
 namespace System.Reflection {
 
+       [Serializable]
        public sealed class AmbiguousMatchException : SystemException {
                // Constructors
                public AmbiguousMatchException ()
index c64e4102815aeafd6baf39c875168e71a9860731..3519e5dfff83a1defc613912d6b6ffda740984aa 100644 (file)
@@ -17,6 +17,7 @@ using System.Runtime.CompilerServices;
 
 namespace System.Reflection {
 
+       [Serializable]
        public class Assembly : System.Reflection.ICustomAttributeProvider,
                System.Security.IEvidenceFactory, System.Runtime.Serialization.ISerializable {
                private IntPtr _mono_assembly;
index becfa1a98b6937bdade2947627664205865bd28d..4349e7174d3466fb8d6f62ab3be01ec7b57af5bb 100755 (executable)
@@ -14,6 +14,7 @@ using System.Runtime.Serialization;
 
 namespace System.Reflection {
 
+       [Serializable]
        public class AssemblyName  : ISerializable // ICloneable, , IDeserializationCallback
        {
                string name;
index 16e9095238c467da41aff7d4935884fa1d30376f..876556102e5dbeff2f90b9d0b96d56510d374714 100644 (file)
@@ -6,6 +6,7 @@
 
 namespace System.Reflection
 {
+       [Serializable]
        public abstract class Binder
        {
        }
index 3e90ea0e531ce40ce2ad4eee456df83c7450f84f..936f50ef8df15945652252380e6f711a115b7e9c 100644 (file)
@@ -12,6 +12,7 @@ using System.Reflection;
 using System.Globalization;
 
 namespace System.Reflection {
+       [Serializable]
        public abstract class ConstructorInfo : MethodBase {
                public static readonly string ConstructorName = ".ctor";
                public static readonly string TypeConstructorName = ".cctor";
index 166780e4eb2d7bc77fea21484d5d9bc65fdc3f5c..118fdd5684f8c09ca291a21ad2b0d8c20a42f73d 100644 (file)
@@ -9,6 +9,7 @@
 
 namespace System.Reflection {
 
+       [Serializable]
        public sealed class DefaultMemberAttribute : Attribute {
                string member_name;
                
index 6fe48cc16e641625571162c0c30c8d40144b7632..10a3d30233a7804f8a12e712764defcde108a416 100755 (executable)
@@ -17,6 +17,7 @@ using System.Runtime.CompilerServices;
 
 namespace System.Reflection {
 
+       [Serializable]
        public abstract class FieldInfo : MemberInfo {
 
                public abstract FieldAttributes Attributes {get;}
index f0ad0ebc0053efd3bbf0aed506b59b4ebca49ad8..9e3c52b80383c7d00b288e5612ce67f34c39aeae 100755 (executable)
@@ -11,6 +11,7 @@
 
 namespace System.Reflection {
 
+       [Serializable]
        public abstract class MemberInfo : ICustomAttributeProvider {
 
                public abstract Type DeclaringType {
index 824aaa988472766b5f2cbc5665c41b3c7934fec6..870bcc06052999b224bea9f00c7ebbeb5a1a7bc8 100644 (file)
@@ -13,6 +13,7 @@ using System.Reflection.Emit;
 
 namespace System.Reflection {
 
+       [Serializable]
        public abstract class MethodBase: MemberInfo {
 
                public static MethodBase GetCurrentMethod()
index 5d058b9743be6903b9e6bdfaf0dabfc62903bed8..2d1c80054463741cb7866236e7fc236a4ffccda9 100644 (file)
@@ -13,6 +13,7 @@ using System.Runtime.Serialization;
 using System.Security.Cryptography.X509Certificates;
 
 namespace System.Reflection {
+       [Serializable]
        public class Module : ISerializable, ICustomAttributeProvider {
 
                public static readonly TypeFilter FilterTypeName;
index f29b623d6da96ba54ca1a4782be630b821b287b6..69f296a945276417dd002fdfa956a8a16f23eb44 100644 (file)
@@ -6,6 +6,7 @@
 
 namespace System.Reflection
 {
+       [Serializable]
        public class ParameterInfo : ICustomAttributeProvider
        {
                protected Type ClassImpl;
index 5d8e9049ffb48be40a980dbb9becf12a43dca1b0..84c50e2a7f9b1b1d123e1e68e47d34be5e962ae5 100755 (executable)
@@ -12,6 +12,7 @@ using System.Reflection;
 using System.Globalization;
 
 namespace System.Reflection {
+       [Serializable]
        public abstract class PropertyInfo : MemberInfo {
 
                public abstract PropertyAttributes Attributes {get;}
index bcf9856554cc22721229970c7c4cc14a98581e99..cad6426a8ba5247e3c3e1699b21dfe2cb4e9536a 100644 (file)
@@ -6,6 +6,7 @@
 
 namespace System.Reflection
 {
+       [Serializable]
        public class TargetInvocationException : ApplicationException
        {
                private TargetInvocationException () {}
index fe18e659de85e4466840ce4903d4e89be22685eb..b25962a4660d249795288e37708bf427461d91c4 100755 (executable)
@@ -10,6 +10,7 @@ using System.Globalization;
 
 namespace System.Reflection {
 
+       [Serializable]
        public class TypeDelegator : Type {
                protected Type typeImpl;
        
index ddeeed4678c753fe4b695f895ae884cd041671b8..b6b22b80c99f59d573dddd48c7f9304676d9af4a 100644 (file)
@@ -13,6 +13,7 @@ using System.Runtime.Serialization;
 namespace System.Resources
 {
 
+       [Serializable]
        public class MissingManifestResourceException: SystemException
        {
                private string param;
index 8594700ed21047bff3de2a51a6b58132cbd3b25f..3eecb562c8249c42438ed90db732408acd61d7cd 100755 (executable)
@@ -9,7 +9,7 @@
 
 namespace System.Runtime.CompilerServices {
 
-       [AttributeUsage(AttributeTargets.Property, Inherited=false)]
+       [AttributeUsage(AttributeTargets.Property, Inherited=false)] [Serializable]
        public class IndexerNameAttribute : Attribute {
                public IndexerNameAttribute (string indexer_name)
                {
index 18ba12881ab59954054f75be44dce3abf6bde6cd..1d22bae743187bf386c9213640288e84272f49a8 100644 (file)
@@ -11,7 +11,7 @@ using System.Runtime.InteropServices;
 
 namespace System.Runtime.CompilerServices {
 
-       [AttributeUsage(AttributeTargets.Method, Inherited=false)]
+       [AttributeUsage(AttributeTargets.Method, Inherited=false)] [Serializable]
        public class MethodImplAttribute : Attribute {
                MethodImplOptions impl_options;
                
index a0df38d9249e29d5e60e272c895b2ba07a9c76b3..c87eb39d915ace882ee523c84bd4e512e8c144cd 100644 (file)
@@ -7,6 +7,7 @@
 
 namespace System.Runtime.CompilerServices
 {
+       [Serializable]
        public sealed class RuntimeHelpers
        {
                private RuntimeHelpers () {}
index a1e7b34ee0e525fdf12e9a5cd1777756395d6677..fc919bad1f2d8b26dc2c00f92399066d76908c11 100644 (file)
@@ -13,6 +13,7 @@ using System.Collections;
 namespace System.Runtime.Remoting.Contexts {
 
        [AttributeUsage (AttributeTargets.Class)]
+       [Serializable]
        public class ContextAttribute : Attribute, IContextAttribute, IContextProperty {
                protected string AttributeName;
 
index d89eddbd1b8b53714049a320ff08ad3d1af4893f..0b08bfd3eb88d746c87d29ae7faaf8dd6843b54a 100644 (file)
@@ -11,6 +11,7 @@ using System.Collections;
 \r
 namespace System.Runtime.Remoting.Messaging {\r
 \r
+       [Serializable]\r
        public class Header {\r
                public Header (string name, object value) :\r
                        this (name, value, true)\r
index 840a2d467dfe80b3ad81415c9f3ad81a0c280c24..37827daf9e4d9c16b9049ff3b4a7d153fd351f7f 100644 (file)
@@ -14,6 +14,7 @@ using System.Runtime.Serialization;
 namespace System.Runtime.Remoting.Messaging {\r
 \r
        [MonoTODO]\r
+       [Serializable]
        public class LogicalCallContext : ISerializable, ICloneable {\r
 
                internal LogicalCallContext () {}
index f49964aa7e5cd1509a2347580ceddc71dd948b49..6f56487896955dd4011d40e13213ab4ddd4b294b 100644 (file)
@@ -15,6 +15,7 @@ using System.Runtime.Serialization;
 
 namespace System.Runtime.Remoting {
 
+       [Serializable]
        public class ObjRef : IObjectReference, ISerializable {
                MarshalByRefObject mbr;
                SerializationInfo si;
index 50a0b4df691b554ad57d2848f1d2397160f2dcd1..3e7b2fc890561259c6dfe6c15c0150b05b4c346f 100755 (executable)
@@ -11,6 +11,7 @@ using System;
 
 namespace System.Runtime.Serialization {
 
+       [Serializable]
        public sealed class SerializationException : SystemException {
                // Constructors
                public SerializationException ()
index c91bfe84858a82d6911fd4f4c0ef5fa5db3312cc..c1b5a530fde756335c44f3fe4f44819f07fe097f 100644 (file)
@@ -9,6 +9,7 @@
 
 namespace System.Runtime.Serialization {
 
+       [Serializable]
        public struct StreamingContext {
                StreamingContextStates state;
                object additional;
index 693dcc98fd9c6589a1d93b8f4e465e998a2a6913..676a1b8ff02e49a20f6413e4b206e914b21f9c8f 100755 (executable)
@@ -9,6 +9,7 @@ using System;
 \r
 namespace System.Security.Cryptography {\r
 \r
+       [Serializable]\r
        public class CryptographicException : SystemException {\r
                // Constructors\r
                public CryptographicException ()\r
index 019b8b702fb0a0f0716cfdd04f2f97b155453787..7beeea4813272a9f34f15673d5f92a92780a4ff0 100755 (executable)
@@ -9,6 +9,7 @@ using System;
 \r
 namespace System.Security.Cryptography {\r
 \r
+       [Serializable]\r
        public class CryptographicUnexpectedOperationException : CryptographicException {\r
                // Constructors\r
                public CryptographicUnexpectedOperationException ()\r
index 6c98a7c9b50f5feb39766a8c4082bbbc5a00e750..cc8560ddcf25c5fd598f90ae59c5e9ca88ec9f64 100755 (executable)
@@ -13,6 +13,7 @@ namespace System.Security.Cryptography
        /// <summary>\r
        /// DSA Parameters\r
        /// </summary>\r
+       [Serializable]\r
        public struct DSAParameters\r
        {\r
                public int Counter;\r
index cf7e61f695d93ad12951fde8485443fcc48bb333..6bc4aafca598d6fca4a8ca9c78245ee42a0265be 100644 (file)
@@ -14,6 +14,7 @@ using System;
 namespace System.Security.Cryptography {\r
        \r
        [MonoTODO]\r
+       [Serializable]\r
        public struct RSAParameters {\r
                [NonSerialized]\r
                public byte[] P;\r
index 8c6e1c6e2d9de067cdb2831c6a2aa1ef7d14bdb7..342b0cacf318bfe52651f5ede27c94f40fdf8b41 100755 (executable)
@@ -2,6 +2,7 @@ using System.Security.Cryptography;
 
 namespace System.Security.Cryptography.X509Certificates {
 
+       [Serializable]
        public class X509Certificate {
                internal X509Certificate () {}
        }
index 78ef50fece93537cba39e4bd0a5783dab613c03e..ced28962930b176365e425e3f8bd5fd780751161 100644 (file)
@@ -23,6 +23,7 @@ namespace System.Security.Permissions
                AllowMultiple=true, \r
                Inherited=false)\r
        ]\r
+       [Serializable]
        public abstract class CodeAccessSecurityAttribute : SecurityAttribute {\r
 \r
                public CodeAccessSecurityAttribute(SecurityAction action) : base(action) {}\r
index b3591229ebde1c87fb3e2d3ae10a04a4a154a084..d914835f140a535ed69b4fad674e6232e09fd572 100644 (file)
@@ -24,6 +24,7 @@ namespace System.Security.Permissions {
                Inherited=false)\r
        ]\r
 \r
+       [Serializable]\r
        public abstract class SecurityAttribute : Attribute {\r
 \r
                private SecurityAction m_Action;\r
@@ -55,4 +56,4 @@ namespace System.Security.Permissions {
                        }\r
                }\r
        } // public abstract class SecurityAttribute\r
-}  // namespace System.Security.Permissions
\ No newline at end of file
+}  // namespace System.Security.Permissions\r
index 47eee269b2b66cf2f647e871137c0a2dbd872cba..9a6a32ab25f38868a716736846055acf448cd3c3 100644 (file)
@@ -15,6 +15,7 @@ using System.Security.Permissions;
 namespace System.Security.Permissions {\r
        \r
        [MonoTODO]\r
+       [Serializable]\r
        public sealed class SecurityPermission :\r
                CodeAccessPermission, IUnrestrictedPermission\r
        {\r
index 80c7d2288fb2be9b18c382d9f48a40c9d811020f..701d1d4344d1a751e30bb1380abc14b408b90dfa 100644 (file)
@@ -11,6 +11,7 @@ using System.Collections;
 namespace System.Security.Policy
 {
        [MonoTODO]
+       [Serializable]
        public sealed class Evidence
        {
                
index 4724153ff99d063fa56a60b7e9b953f3dde0f13c..a099f7feff6773cc0c06887cebda74e403475f39 100644 (file)
@@ -9,6 +9,7 @@
 \r
 namespace System.Security.Policy {\r
 \r
+       [Serializable]\r
        public class PolicyStatement : ISecurityEncodable, ISecurityPolicyEncodable {\r
                public PolicyStatement (PermissionSet perms) :\r
                        this (perms, PolicyStatementAttribute.Nothing)\r
index 05b168c5a967d1774d11831d9ca7f30cd04f2a0d..f17fba38b0925b43e1f88ce6b35c9c4c3966c69a 100644 (file)
@@ -9,6 +9,7 @@
 
 namespace System.Security.Principal {
 
+       [Serializable]
        public class GenericIdentity : IIdentity {
                string user_name;
                string authentication_type;
index c1e96e282e562f13e2d60d145dbbb41d4186f02c..da39ae5a13d2584827dd4c348fafef36daad46fd 100644 (file)
@@ -9,6 +9,7 @@
 
 namespace System.Security.Principal {
 
+       [Serializable]
        public class GenericPrincipal : IPrincipal {
                IIdentity identity;
                string [] roles;
index 5eb85ff9f5d1b024f05dd1f0f240586d991c092a..9fe27e19de1634050e0efb64c0acd1746ef5f1dd 100755 (executable)
@@ -9,6 +9,7 @@
 
 namespace System.Security {
 
+       [Serializable]
        public abstract class CodeAccessPermission : IPermission, ISecurityEncodable, IStackWalk
        {
                ///<summary>Constructs a new instance of the System.Security.CodeAccessPermission class.</summary>
index fb12f699efbe6077c57d04dcf1ec6fd364805cfd..0f500e6de98c9bd0e9f4b205f6bf6cf5c9091a03 100644 (file)
@@ -15,6 +15,7 @@ using System.Security.Permissions;
 namespace System.Security {\r
        \r
        [MonoTODO]\r
+       [Serializable]\r
        public sealed class NamedPermissionSet : PermissionSet {\r
                public NamedPermissionSet (string name, PermissionSet set) : base (set) {\r
                        this.name = name;\r
index be80c65248a1d9188062331f3f0858abc90e15b5..96c9667b9be1a0beed6cf6f8c313276fbe5d484f 100644 (file)
@@ -16,6 +16,7 @@ using System.Runtime.Serialization;
 namespace System.Security\r
 {\r
     ///<summary> Represents a collection that can contain different kinds of permissions and perform security      operations.</summary>\r
+       [Serializable]\r
     public class PermissionSet: ISecurityEncodable, ICollection, IEnumerable, IStackWalk, IDeserializationCallback\r
     {\r
         ///<summary> Constructs a new instance of the System.Security.PermissionSet class with the   specified   value.</summary>\r
index 07728e8c2231841a11993cea3da7af24ef0a2e67..375d1f17f67e226ea2afea1f5dc5c6ae87a23266 100755 (executable)
@@ -13,6 +13,7 @@ using System.Text;
 namespace System.Security {
 
        [MonoTODO ("See bottom of the class for missing methods")]
+       [Serializable]
        public sealed class SecurityElement {
                string text;
                string tag;
index 7de76e0527753ff67038eae1a00ab5f37c91e1fb..aaa0086bbe2ee924abcdffc517aef9e6afe9b509 100644 (file)
@@ -11,6 +11,7 @@ using System.Runtime.Serialization;
 using System.Globalization;\r
 \r
 namespace System.Security {\r
+       [Serializable]\r
        public class SecurityException : SystemException {\r
 \r
                // Fields\r
index 676d2bfaca6c4cbf1b6b670fd457d91fd558d420..277ea55cd37dabe2bed169d72b77abd64209e17e 100644 (file)
@@ -11,6 +11,7 @@ using System.Runtime.Serialization;
 using System.Globalization;\r
 \r
 namespace System.Security {\r
+       [Serializable]\r
        public class VerificationException : SystemException {\r
        \r
                // Constructors\r
@@ -22,4 +23,4 @@ namespace System.Security {
                public VerificationException(string message, Exception inner) \r
                        : base (message, inner) {}\r
        }\r
-}
\ No newline at end of file
+}\r
index 3f2aa1bcb4f891e488e92fc4aee6e46fd249e38c..91e2c5bc9fa173e4ef0630a5c2b864ae5766e6de 100644 (file)
@@ -10,6 +10,7 @@
 using System.Globalization;\r
 \r
 namespace System.Security {\r
+       [Serializable]\r
        public sealed class XmlSyntaxException : SystemException {\r
        \r
                // Constructors\r
@@ -23,4 +24,4 @@ namespace System.Security {
                public XmlSyntaxException(string message, Exception inner) \r
                        : base (message, inner) {}\r
        }\r
-}
\ No newline at end of file
+}\r
index c6421b0a02e915eed2b9e5ae4d5589320eeb3a82..10c7c34985dadb4b0e61762fd3de8f3abbbaa791 100755 (executable)
@@ -11,6 +11,7 @@
 
 namespace System.Text {
         
+       [Serializable]
        public class ASCIIEncoding : Encoding
        {
                public ASCIIEncoding () : base ()
index f0ac38187ade2c60e473b81ff2fc2087838a9b50..f7a4457bfe1625bf31bed5210fd319459a2ee961 100644 (file)
@@ -10,6 +10,7 @@
 namespace System.Text
 {
 
+       [Serializable]
        public abstract class Decoder
        {
                
index d4e97239ffa480f3a444c9b599bb1de2828e8594..5eff72994418116072a5f37f54c9fc552165a7e9 100644 (file)
@@ -10,6 +10,7 @@
 namespace System.Text
 {
 
+       [Serializable]
        public abstract class Encoder
        {
 
index ccbd67c2fec288a5529d247fc16457bb965cabc6..15d0f8822db296db69e8eb9b014dbd79c58f3921 100755 (executable)
@@ -13,6 +13,7 @@ using System.Runtime.CompilerServices;
 
 namespace System.Text {
 
+       [Serializable]
        public abstract class Encoding {
                 private static ASCIIEncoding ascii_encoding;
                 private static UnicodeEncoding big_endian_unicode;
index 2ffea3215aa30aea67a5e4f09a745622d9b6f3d4..d9feef3032c116f72c7aa7d4bd2141496a40d45e 100644 (file)
@@ -15,6 +15,7 @@
 namespace System.Text {\r
        \r
        [MonoTODO ("Implement AppendFormat methods and IFormatProvider, IFormattable")]\r
+       [Serializable]\r
        public sealed class StringBuilder {\r
 \r
                private const int defaultCapacity = 16;\r
index b5582804d27e750cdafb7d676fb13c19c9d0d062..4f1e58a3f5f4aa6941e47b001d2c06366e367ee0 100755 (executable)
@@ -10,6 +10,7 @@
 
 namespace System.Text
 {
+       [Serializable]
        public class UTF8Encoding : Encoding
        {
                public UTF8Encoding () : base ("UTF-8", false)
index 74e274d7b1740cb4022addc0fbd15544efa66d68..8758c6b26231708c2529b5b650077d9962758053 100755 (executable)
@@ -14,6 +14,7 @@
 namespace System.Text {
       
        [MonoTODO]
+       [Serializable]
        public class UnicodeEncoding : Encoding
        {
                private bool byteOrderMark;
index e7c89c4636b005232a3eb9ad3c5b02ccae8ca48e..e3d226c8b0ec5375e75efe4a7466b93ec31764d2 100755 (executable)
@@ -10,6 +10,7 @@
 
 namespace System.Threading
 {
+       [Serializable]
        public struct LockCookie
                {
                }
index ec73e9feab2da4a641029d6cd4a25eabb45c21ba..7d5c8090e175723fd17ef80ae75b24eda948faae 100755 (executable)
@@ -11,6 +11,7 @@ using System.Runtime.Serialization;
 
 namespace System.Threading
 {
+       [Serializable]
        public class SynchronizationLockException : SystemException
        {
                public SynchronizationLockException()
index 93c361f33e05f23c1687758a3820719a12377249..d91ef0a79df3da2586563bb8c27573f13e711241 100755 (executable)
@@ -10,6 +10,7 @@
 
 namespace System.Threading
 {
+       [Serializable]
        public sealed class ThreadAbortException : SystemException
        {
                private ThreadAbortException () {}
index 133e523dbc30fa99c2df22c8eb011de2a9b7bf65..f6a82ec6aad01614ddbb4fcfbd93169d6c29b7e9 100755 (executable)
@@ -11,6 +11,7 @@ using System.Runtime.Serialization;
 
 namespace System.Threading
 {
+       [Serializable]
        public class ThreadInterruptedException : SystemException
        {
                public ThreadInterruptedException()
index c1a09f31048377818caa2a7e38995f418ef233a1..c359fe011b155d111784d439a39a853c45441dc7 100755 (executable)
@@ -11,6 +11,7 @@ using System.Runtime.Serialization;
 
 namespace System.Threading
 {
+       [Serializable]
        public class ThreadStateException : SystemException
        {
                public ThreadStateException()
index fc8efbdecd36a7da44e6e3b8fd07303fb61c2a26..38620b7a5a3f5b9b8df9fd8aea0e5720b23e968a 100755 (executable)
@@ -13,6 +13,7 @@ using System.Runtime.CompilerServices;
 namespace System {
 
 
+       [Serializable]
        public sealed class AppDomainSetup : IAppDomainSetup {
                string application_base;
                string application_name;
index 5a52271a530a3622df1c582d3972ac9a9eae5ef0..d5d22ebc57eb6e18111b2fb4198c421c79cd095b 100644 (file)
@@ -11,6 +11,7 @@ using System.Globalization;
 
 namespace System {
 
+       [Serializable]
        public class ArgumentException : SystemException {
                private string param_name;
 
index ba16a94c5819234be36618a4282fa5cd614b0227..4963f5608309b546200cf1507f709c36f4c030af 100644 (file)
@@ -12,6 +12,7 @@ using System.Globalization;
 
 namespace System {
 
+       [Serializable]
        public class ArgumentNullException : ArgumentException {
                // Constructors
                public ArgumentNullException ()
index 5e3462cf64a353c43ed1a05e83ef94abc6146c50..361f816f9bbc0a13db8e51093a53db6343bed2b0 100644 (file)
@@ -13,6 +13,7 @@ using System.Runtime.Serialization;
 
 namespace System {
 
+       [Serializable]
        public class ArgumentOutOfRangeException : ArgumentException {
                private object actual_value;
 
index ebd60877aa06ccf2f554db2f23ea743ba7e575fd..68eaf17439572a78ac67af88ec7804ea6775babe 100644 (file)
@@ -15,6 +15,7 @@ using System.Runtime.CompilerServices;
 namespace System
 {
 
+       [Serializable]
        public abstract class Array : ICloneable, ICollection, IList, IEnumerable
        {
                // Constructor          
index f5e3ddf136fc654c91ef80144dc6ffa74c53c692..d364760c5463b47443829ae6a1e6366a09cd64c0 100644 (file)
@@ -10,6 +10,7 @@
 namespace System {\r
 \r
        [AttributeUsage(AttributeTargets.All)]\r
+       [Serializable]\r
        public class AttributeUsageAttribute : Attribute {\r
                AttributeTargets valid_on;\r
                bool allow_multiple, inherited;\r
index 2da7a42234f75b61e1c322763f0dfcf923424134..8b5d4d122c075c822cd9c6c9e9b1558ed887cb38 100644 (file)
@@ -11,6 +11,7 @@ using System.Globalization;
 
 namespace System {
        
+       [Serializable]
        public struct Byte : IComparable, IFormattable, IConvertible {
                
                public const byte MinValue = 0;
index 8dbd5ad44459695ab0759efeea3516442327f897..ab5a531d7fd6f8adecfcecaff328897fa123a48a 100755 (executable)
@@ -16,6 +16,7 @@ namespace System {
        /// <remarks>
        /// </remarks>
        [AttributeUsage(AttributeTargets.All)]
+       [Serializable]
        public class CLSCompliantAttribute : Attribute {
 
                bool is_compliant;
index 892aef3cf62a0c9dc3f65155b5a9fccaab68b812..7255faa0e7fba508f432a66f44f546013fd30f3b 100644 (file)
@@ -19,6 +19,7 @@ using System.Runtime.CompilerServices;
 
 namespace System {
        
+       [Serializable]
        public struct Char : IComparable, IConvertible { //, IFormattable {
                public const char MaxValue = (char) 0xffff;
                public const char MinValue = (char) 0;
index 9c9bdaada4d7ff992fc2aa849049c81e82f8c6f4..92e95e454aa6730b1d5217ee29c0a8e82154fd15 100644 (file)
@@ -15,6 +15,7 @@ namespace System {
        ///   Base class for all the context-bound classes
        /// </summary>
        [MonoTODO]
+       [Serializable]
        public abstract class ContextBoundObject : MarshalByRefObject {
 
                protected ContextBoundObject ()
index 13fca4959bbb809cbffc19bea0c61a2fc00f3ee9..941d6336a6794a58e01699ce111adf4c6cd95798 100644 (file)
@@ -19,6 +19,7 @@ namespace System
        /// 1-1-0001 12:00:00 AM to 31-12-9999 23:59:00 Common Era.\r
        /// </summary>\r
        /// \r
+       [Serializable]\r
        public struct DateTime : IComparable , IFormattable  , IConvertible\r
        {\r
                private TimeSpan ticks;\r
index d1b9c28a2a65124072cc9b581ad051359ae0a254..308aa015c784fbc5f7fd2d40e2c9b330781d34f5 100644 (file)
@@ -25,6 +25,7 @@ namespace System
     /// Represents a floating-point decimal data type with up to 29 significant\r
     /// digits, suitable for financial and commercial calculations\r
     /// </summary>\r
+       [Serializable]\r
     public struct Decimal: IComparable, IFormattable\r
     {\r
         public static readonly Decimal MinValue = new Decimal(-1, -1, -1, true, 0);\r
index 2558eafe262dc27cf7e52dd4bb3fd7b0ced27e08..e9a162b255e0968146e4ee3574b3a9f1193f270f 100644 (file)
@@ -10,6 +10,7 @@
 using System.Globalization;
 namespace System {
 
+       [Serializable]
        public class DivideByZeroException : ArithmeticException {
                // Constructors
                public DivideByZeroException ()
index d8d1dfeff8d92a97db01fe155f18fb71fa55afb4..2002cbfb23b3961bc2ad2748dd97014e988f3996 100644 (file)
@@ -13,6 +13,7 @@ using System.Globalization;
 
 namespace System {
        
+       [Serializable]
        public struct Double : IComparable, IFormattable, IConvertible {
                public const double Epsilon = 4.9406564584124650e-324;
                public const double MaxValue =  1.7976931348623157e308;
index 12ed31c86bb539dd886aeb7a04c8f5bd63c28a43..beddfd0c5ac0743a7f68acbb32052137c5a4360b 100644 (file)
@@ -13,6 +13,7 @@ using System.Runtime.Serialization;
 
 namespace System {
 
+       [Serializable]
        public class DuplicateWaitObjectException : ArgumentException {
                // Constructors
                public DuplicateWaitObjectException ()
index be0d2be54e92e5196e9e58895d2099b3ccf3eefd..c2460152d2ecd092f6cee11dedfd864843eabd84 100644 (file)
@@ -13,6 +13,7 @@ using System;
 
 namespace System {
 
+       [Serializable]
        public class EventArgs
        {
                public static readonly EventArgs Empty = new EventArgs();
index e791864e530889361f7a356d265496489d20400f..f005ecb70f04f0af13c5a9fe959e796af1608acf 100644 (file)
@@ -10,6 +10,7 @@
 using System.Globalization;
 namespace System {
 
+       [Serializable]
        public sealed class ExecutionEngineException : SystemException {
                // Constructors
                public ExecutionEngineException ()
index 91cc4581bc619331b157dd145f4ef56f0b720731..8c2b40defa086fac15f9c3704c59f325864e13ef 100755 (executable)
@@ -20,6 +20,7 @@ namespace System {
        /// </remarks>
 
        [AttributeUsage (AttributeTargets.Enum)]
+       [Serializable]
        public class FlagsAttribute : Attribute {
 
                // No methods.
index 03d106f6f9ed21f0894937b7643cc183097d5af6..2140db443599bf17193fe0134f1c20603463bfd1 100644 (file)
@@ -12,6 +12,7 @@ using System.Runtime.Serialization;
 
 namespace System {
 
+       [Serializable]
        public class FormatException : SystemException {
                // Constructors
                public FormatException ()
index 6e0b5ffc1c528813f54425c484243e51a2c3e1c9..7246ddefb7e279ed57022b04b3debe701830d37b 100644 (file)
@@ -10,6 +10,7 @@
 using System.Globalization;
 namespace System {
 
+       [Serializable]
        public sealed class IndexOutOfRangeException : SystemException {
                // Constructors
                public IndexOutOfRangeException ()
index f6d23423ceb373d3eb96eb401b7d01283d7225fd..185c29273f91ce5a3136f3c773588e70719d69d0 100644 (file)
@@ -11,6 +11,7 @@ using System.Globalization;
 
 namespace System {
        
+       [Serializable]
        public struct Int16 : IComparable, IFormattable, IConvertible {
 
                public const short MaxValue =  32767;
index 97a99913e772a76aea13d2f2b0d3afb23216eaa5..20a6aa38cf31d345b37abffcacd3b57fce444ff9 100644 (file)
@@ -11,6 +11,7 @@ using System.Globalization;
 
 namespace System {
        
+       [Serializable]
        public struct Int32 : IComparable, IFormattable, IConvertible {
 
                public const int MaxValue = 0x7fffffff;
index 479c50bc6bbff298bc91acde12de11dc12cbc64c..61c4e1dd43807da4d7b77d313aa80b90cae07436 100644 (file)
@@ -11,6 +11,7 @@ using System.Globalization;
 
 namespace System {
        
+       [Serializable]
        public struct Int64 : IComparable, IFormattable, IConvertible {
 
                public const long MaxValue = 0x7fffffffffffffff;
index e8968c3e26ca915228aef8aa69d5ad54db7d10f7..9b14399a3a69e1c0a252519ddf8123960d200f18 100644 (file)
@@ -33,6 +33,7 @@ namespace System {
        [
                CLSCompliant(true)
        ]
+       [Serializable]
        public unsafe struct IntPtr : ISerializable {
 
                private void *value;
index 1556f840aa9364d6302afc26cad54d02b00e68db..1d16ad5ce4dd4d8f00b9f7f4160599c0008f1a6e 100644 (file)
@@ -13,6 +13,7 @@ using System.Runtime.Serialization;
 
 namespace System {
 
+       [Serializable]
        public class InvalidCastException : SystemException {
                // Constructors
                public InvalidCastException ()
index af49aa64e4559aa5e798826a98f38b5ba09fb4c4..da235f0bf8eb78166afcbf67b8dfabfabf4ce677 100644 (file)
@@ -10,6 +10,7 @@
 using System.Globalization;
 namespace System {
 
+       [Serializable]
        public sealed class InvalidProgramException : SystemException {
                // Constructors
                public InvalidProgramException ()
index 2f3d413aa6f2e686af8a41c151c74567dd1728ed..53051ceba32fe1f6594f32c016886c91207f1baa 100644 (file)
@@ -11,6 +11,7 @@ using System.Runtime.Remoting;
 
 namespace System {
 
+       [Serializable]
        public abstract class MarshalByRefObject {
 
                public virtual ObjRef CreateObjRef (Type type)
index 0e1606f3a911e6ec11c93d3ab0acae1c6f22f273..6417207fa7289a09e3ac3417aabd24f922f0e33b 100644 (file)
@@ -10,6 +10,7 @@
 using System.Globalization;
 namespace System {
 
+       [Serializable]
        public sealed class MulticastNotSupportedException : SystemException {
                // Constructors
                public MulticastNotSupportedException ()
index 26bbc34fddcd0fcbd9f44d68f6431513a951f748..9691ea985287b98ae35743bd504297ecb78456be 100644 (file)
@@ -12,6 +12,7 @@ using System.Runtime.Serialization;
 
 namespace System {
 
+       [Serializable]
        public class NotFiniteNumberException : ArithmeticException {
                double offending_number;
 
index 3c201d1587e3ee821de942ca3d91f05a512ce824..5a7f80b33387df84b659582d61c11e18fac67d15 100755 (executable)
@@ -13,6 +13,7 @@ using System.Runtime.Serialization;
 
 namespace System {
 
+       [Serializable]
        public class NotImplementedException : SystemException {
                // Constructors
                public NotImplementedException ()
index 2419d8e0b8f2e508f5883b78759b3af5890e5db5..de3fb785b5bcecbb9a2ff05b157824924f43aaf3 100644 (file)
@@ -13,6 +13,7 @@ using System.Runtime.Serialization;
 
 namespace System {
 
+       [Serializable]
        public class NotSupportedException : SystemException {
                // Constructors
                public NotSupportedException ()
index 76947bae47e896e80ff39951197ed6cbc80008dc..009732ce07b617bd316a538acecb8e8edcbad4de 100644 (file)
@@ -13,6 +13,7 @@ using System.Runtime.Serialization;
 
 namespace System {
 
+       [Serializable]
        public class NullReferenceException : SystemException {
                // Constructors
                public NullReferenceException ()
index cd614ef027e4dbf347e642baf67ca85e007814d4..93729bb4a4515c4c1f9d1e0ca5ba1732c1882207 100644 (file)
@@ -17,6 +17,7 @@ namespace System
        /// <summary>\r
        /// Class representing a specific operating system version for a specific platform\r
        /// </summary>\r
+       [Serializable]\r
        public sealed class OperatingSystem : ICloneable\r
        {\r
                private System.PlatformID itsPlatform;\r
index ffaf5851d107e1ce070a0ae122844fd9148fa747..a4f2388390d99d5436feb1663f1c923abaf8c023 100644 (file)
@@ -13,6 +13,7 @@ using System.Runtime.Serialization;
 
 namespace System {
 
+       [Serializable]
        public class OutOfMemoryException : SystemException {
                // Constructors
                public OutOfMemoryException ()
index 4fc747d24e0e0539e0338856c3d538458c9e1278..61e63e1e3a1ad2179147a46a7d9bcd55c8a2c850 100644 (file)
@@ -13,6 +13,7 @@ using System.Runtime.Serialization;
 
 namespace System {
 
+       [Serializable]
        public class OverflowException : ArithmeticException {
                // Constructors
                public OverflowException ()
index cadcf1efd09d9f1b4724d230b271e06173ec20a1..ed56c2c8ca8983b3f16d4ee3bb440fc47b39287b 100644 (file)
@@ -12,6 +12,7 @@ using System.Globalization;
 
 namespace System
 {
+               [Serializable]
         public class Random
         {
                 private int S = 1;
index 67b8b5f07dfa5284d50260d9e209ef75d94f1e15..89813a4a1231f09123cd789d19019b8625e48824 100644 (file)
@@ -13,6 +13,7 @@ using System.Runtime.Serialization;
 
 namespace System {
 
+       [Serializable]
        public class RankException : SystemException {
                // Constructors
                public RankException ()
index 67a34d33876faadbe277aecb78806fbdb2c02bfc..f4536856af983cb60806d8fbf2d81054370f14eb 100755 (executable)
@@ -13,6 +13,7 @@ using System.Globalization;
 namespace System {
 
        [MonoTODO]
+       [Serializable]
        public struct RuntimeFieldHandle : ISerializable {
                IntPtr value;
                
index fa96015cf68a20b6ffb8e0ede7693c5772542f16..649f7aa2c79069de9d75cbe0f2309ada501fd186 100755 (executable)
@@ -13,6 +13,7 @@ using System.Globalization;
 namespace System {
 
        //[MonoTODO]
+       [Serializable]
        public struct RuntimeMethodHandle : ISerializable {
                IntPtr value;
                
index 1c667341c36ee0ac82b54591ee7b831736376188..51b8202e5a6e99b59d3d53bada6ec1851c521cd8 100644 (file)
@@ -12,6 +12,7 @@ using System.Globalization;
 namespace System {
 
        [CLSCompliant(false)]
+       [Serializable]
        public struct SByte : IComparable, IFormattable, IConvertible {
 
                public const sbyte MinValue = -128;
index 81e5159d52caa339bfb96778ab85a32b60928d13..9ee119841f0032fc02f9ef0da9d537c42c0f8a77 100644 (file)
@@ -11,6 +11,7 @@ using System.Globalization;
 
 namespace System {
        
+       [Serializable]
        public struct Single : IComparable, IFormattable, IConvertible {
                public const float Epsilon = 1.4e-45f;
                public const float MaxValue =  3.40282346638528859e38f;
index a9f3b04bbc64d12af24de42e32a285ae90423609..45d8bbddfb5d74f9bf41f820b1026ed504f75424 100644 (file)
@@ -13,6 +13,7 @@ using System.Runtime.Serialization;
 
 namespace System {
 
+       [Serializable]
        public class StackOverflowException : SystemException {
                // Constructors
                public StackOverflowException ()
index 37f260ac192f43f8a31671aac62a35389170d0d1..6245e717dca24f960f35d58a963ab9aaa55321bf 100644 (file)
@@ -31,6 +31,7 @@ using System.Runtime.CompilerServices;
 namespace System {
 
        //[DefaultMemberName("Chars")]
+       [Serializable]
        public sealed class String : IComparable, ICloneable, IConvertible, IEnumerable {
                public static readonly string Empty = "";
                private char[] c_str;
index a5270e8e6a85800887a05e03f0628c574f4594d7..97d06667a6b48bd0138995dbfbfc67c18a33c18f 100644 (file)
@@ -9,6 +9,7 @@
 namespace System
 {
        [AttributeUsage (AttributeTargets.Field)]
+       [Serializable]
        public class ThreadStaticAttribute : Attribute
        {
                // Constructors
index 08cc2081ba3951ed21bd564c4c769b09e3208dbb..af592358a1ae6eafbe1a32e4e41846723c233841 100644 (file)
@@ -21,6 +21,7 @@ namespace System {
        //
 
        [MonoTODO]
+       [Serializable]
        public abstract class Type : MemberInfo, IReflect {
                
                internal RuntimeTypeHandle _impl;
index 5292b3946d42590195ca7d0a467b709a4dd9c9fa..80c88fe561208695bf2dc9c51c24749d72270232 100644 (file)
@@ -11,6 +11,7 @@ using System.Globalization;
 using System.Runtime.Serialization;
 namespace System {
 
+       [Serializable]
        public class TypeInitializationException : SystemException {
                string type_name;
 
index a8071d379ec33bf3f9f0ad136d1043e8722181a3..798a31b9c03e90cc2b254c8df18e5613bf399759 100644 (file)
@@ -12,6 +12,7 @@ using System.Globalization;
 namespace System {
 
        [CLSCompliant(false)]
+       [Serializable]
        public struct UInt16 : IComparable, IFormattable, IConvertible {
 
                public const ushort MaxValue = 0xffff;
index 203921459d51b2eaaafa0dab7540e6157d64010e..ca993f28ca572400b5e09e8a2e8c62654df9a04b 100644 (file)
@@ -12,6 +12,7 @@ using System.Globalization;
 namespace System {
 
        [CLSCompliant(false)]
+       [Serializable]
        public struct UInt32 : IComparable, IFormattable, IConvertible {
 
                public const uint MaxValue = 0xffffffff;
index 316f0cb1377ba0429e4d3dfce69fbd1908fc5cc3..c03895102abe4be1f280adf161aac3ed2ef81b20 100644 (file)
@@ -12,6 +12,7 @@ using System.Globalization;
 namespace System {
 
        [CLSCompliant(false)]
+       [Serializable]
        public struct UInt64 : IComparable, IFormattable, IConvertible {
                public const ulong MaxValue = 0xffffffffffffffff;
                public const ulong MinValue = 0;
index e19b2d402114475d2a3eca239101a113ae0c3c77..cbbe6ca928ac05d85024f0f1a8511b2f6c0ea09f 100644 (file)
@@ -26,6 +26,7 @@ namespace System
     StructLayout(LayoutKind.Auto),
     CLSCompliant(false)
 ]
+[Serializable]
 public unsafe struct UIntPtr : ISerializable
 {
     public static readonly UIntPtr Zero = new UIntPtr(0);
index 014b04dd4065af77a434871e28205cf41b352a84..81e318eeec43dd5be9e888a8e7c2c9a5dd5cadb4 100755 (executable)
@@ -12,6 +12,7 @@ using System.Reflection;
 
 namespace System 
 {
+       [Serializable]
        public class UnhandledExceptionEventArgs: EventArgs
        {
                private object exception;
index 1ad4e1c5b2c4f9f71e0a76795f6fb559ffaf74c5..768d75e7141743ad8a163fde42d84c5df1d72043 100644 (file)
@@ -9,6 +9,7 @@
 
 namespace System {
        
+       [Serializable]
        public struct Void {
        }
 }