Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiers Haken <piers@mono-cvs.ximian.com>2002-04-02 00:22:40 +0400
committerPiers Haken <piers@mono-cvs.ximian.com>2002-04-02 00:22:40 +0400
commit610d7923acfbdc29cc61e0694b716eea940d819b (patch)
treeeb5e85cdad56d2e9ce7c89c305b4208da3345a8e /mcs/class/System/System.CodeDom
parent91ad44d53ead8f915fdaad0619fdb302fdcb9d09 (diff)
added missing [Serializable] attribute
svn path=/trunk/mcs/; revision=3540
Diffstat (limited to 'mcs/class/System/System.CodeDom')
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeArrayCreateExpression.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeAssignStatement.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeAttachEventStatement.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeAttributeArgument.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeAttributeArgumentCollection.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeAttributeDeclaration.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeAttributeDeclarationCollection.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeBaseReferenceExpression.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeBinaryOperatorExpression.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeCastExpression.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeCatchClause.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeCatchClauseCollection.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeCommentStatement.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeConstructor.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeDelegateCreateExpression.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeDelegateInvokeExpression.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeExpression.cs3
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeFieldReferenceExpression.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeIndexerExpression.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeLinePragma.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeMemberEvent.cs3
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeMemberMethod.cs3
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeMemberProperty.cs3
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeMethodInvokeExpression.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeNamespace.cs3
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeNamespaceImport.cs3
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeNamespaceImportCollection.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeObject.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeObjectCreateExpression.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeParameterDeclarationExpression.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeParameterDeclarationExpressionCollection.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodePrimitiveExpression.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodePropertyReferenceExpression.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeStatement.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeStatementCollection.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeThisReferenceExpression.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeThrowExceptionStatement.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeTryCatchFinallyStatement.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeTypeDeclaration.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeTypeMember.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeTypeOfExpression.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeTypeReferenceExpression.cs1
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeVariableDeclarationStatement.cs1
43 files changed, 49 insertions, 6 deletions
diff --git a/mcs/class/System/System.CodeDom/CodeArrayCreateExpression.cs b/mcs/class/System/System.CodeDom/CodeArrayCreateExpression.cs
index 17a4a455db3..6fd273a9271 100755
--- a/mcs/class/System/System.CodeDom/CodeArrayCreateExpression.cs
+++ b/mcs/class/System/System.CodeDom/CodeArrayCreateExpression.cs
@@ -8,6 +8,7 @@
//
namespace System.CodeDom {
+ [Serializable]
public class CodeArrayCreateExpression : CodeExpression {
string createType;
CodeExpressionCollection initializers;
diff --git a/mcs/class/System/System.CodeDom/CodeAssignStatement.cs b/mcs/class/System/System.CodeDom/CodeAssignStatement.cs
index 0e1bb9750ad..7e64e1b5457 100755
--- a/mcs/class/System/System.CodeDom/CodeAssignStatement.cs
+++ b/mcs/class/System/System.CodeDom/CodeAssignStatement.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeAssignStatement : CodeStatement {
CodeExpression left, right;
diff --git a/mcs/class/System/System.CodeDom/CodeAttachEventStatement.cs b/mcs/class/System/System.CodeDom/CodeAttachEventStatement.cs
index d85a61d8ea9..5f3e58b2033 100755
--- a/mcs/class/System/System.CodeDom/CodeAttachEventStatement.cs
+++ b/mcs/class/System/System.CodeDom/CodeAttachEventStatement.cs
@@ -8,6 +8,7 @@
//
namespace System.CodeDom {
+ [Serializable]
public class CodeAttachEventStatement : CodeStatement {
CodeExpression targetObject;
string eventName;
diff --git a/mcs/class/System/System.CodeDom/CodeAttributeArgument.cs b/mcs/class/System/System.CodeDom/CodeAttributeArgument.cs
index 50fa7efcd6e..ead0eb3c968 100755
--- a/mcs/class/System/System.CodeDom/CodeAttributeArgument.cs
+++ b/mcs/class/System/System.CodeDom/CodeAttributeArgument.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeAttributeArgument {
string name;
CodeExpression val;
diff --git a/mcs/class/System/System.CodeDom/CodeAttributeArgumentCollection.cs b/mcs/class/System/System.CodeDom/CodeAttributeArgumentCollection.cs
index d318732320a..2dbe445a0ec 100755
--- a/mcs/class/System/System.CodeDom/CodeAttributeArgumentCollection.cs
+++ b/mcs/class/System/System.CodeDom/CodeAttributeArgumentCollection.cs
@@ -11,6 +11,7 @@ namespace System.CodeDom {
using System.Collections;
+ [Serializable]
public class CodeAttributeArgumentCollection : IList, ICollection, IEnumerable {
ArrayList attributeArgs;
diff --git a/mcs/class/System/System.CodeDom/CodeAttributeDeclaration.cs b/mcs/class/System/System.CodeDom/CodeAttributeDeclaration.cs
index 8c9105ce236..2d51f556f85 100755
--- a/mcs/class/System/System.CodeDom/CodeAttributeDeclaration.cs
+++ b/mcs/class/System/System.CodeDom/CodeAttributeDeclaration.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeAttributeDeclaration {
string name;
diff --git a/mcs/class/System/System.CodeDom/CodeAttributeDeclarationCollection.cs b/mcs/class/System/System.CodeDom/CodeAttributeDeclarationCollection.cs
index 48aa3b48965..f387a1f38fc 100755
--- a/mcs/class/System/System.CodeDom/CodeAttributeDeclarationCollection.cs
+++ b/mcs/class/System/System.CodeDom/CodeAttributeDeclarationCollection.cs
@@ -11,6 +11,7 @@ namespace System.CodeDom {
using System.Collections;
+ [Serializable]
public class CodeAttributeDeclarationCollection : IList, ICollection, IEnumerable {
ArrayList attributeDecls;
diff --git a/mcs/class/System/System.CodeDom/CodeBaseReferenceExpression.cs b/mcs/class/System/System.CodeDom/CodeBaseReferenceExpression.cs
index dee01e013af..12f71c4c6a4 100755
--- a/mcs/class/System/System.CodeDom/CodeBaseReferenceExpression.cs
+++ b/mcs/class/System/System.CodeDom/CodeBaseReferenceExpression.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeBaseReferenceExpression : CodeExpression {
public CodeBaseReferenceExpression () {}
}
diff --git a/mcs/class/System/System.CodeDom/CodeBinaryOperatorExpression.cs b/mcs/class/System/System.CodeDom/CodeBinaryOperatorExpression.cs
index 775b29bf90f..82e2070e375 100755
--- a/mcs/class/System/System.CodeDom/CodeBinaryOperatorExpression.cs
+++ b/mcs/class/System/System.CodeDom/CodeBinaryOperatorExpression.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeBinaryOperatorExpression : CodeExpression {
CodeExpression left, right;
diff --git a/mcs/class/System/System.CodeDom/CodeCastExpression.cs b/mcs/class/System/System.CodeDom/CodeCastExpression.cs
index 3c3bef51042..824c1060e28 100755
--- a/mcs/class/System/System.CodeDom/CodeCastExpression.cs
+++ b/mcs/class/System/System.CodeDom/CodeCastExpression.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeCastExpression : CodeExpression {
string targetType;
CodeExpression expression;
diff --git a/mcs/class/System/System.CodeDom/CodeCatchClause.cs b/mcs/class/System/System.CodeDom/CodeCatchClause.cs
index 4af7a18f4a2..3933287e2e1 100755
--- a/mcs/class/System/System.CodeDom/CodeCatchClause.cs
+++ b/mcs/class/System/System.CodeDom/CodeCatchClause.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeCatchClause {
CodeParameterDeclarationExpression condition;
diff --git a/mcs/class/System/System.CodeDom/CodeCatchClauseCollection.cs b/mcs/class/System/System.CodeDom/CodeCatchClauseCollection.cs
index 7b4a284bac5..3f1f83ae545 100755
--- a/mcs/class/System/System.CodeDom/CodeCatchClauseCollection.cs
+++ b/mcs/class/System/System.CodeDom/CodeCatchClauseCollection.cs
@@ -11,6 +11,7 @@ namespace System.CodeDom {
using System.Collections;
+ [Serializable]
public class CodeCatchClauseCollection : IList, ICollection, IEnumerable {
ArrayList catchClauses;
diff --git a/mcs/class/System/System.CodeDom/CodeCommentStatement.cs b/mcs/class/System/System.CodeDom/CodeCommentStatement.cs
index 9dba6528a70..29dd86d8754 100755
--- a/mcs/class/System/System.CodeDom/CodeCommentStatement.cs
+++ b/mcs/class/System/System.CodeDom/CodeCommentStatement.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeCommentStatement : CodeStatement {
string text;
diff --git a/mcs/class/System/System.CodeDom/CodeConstructor.cs b/mcs/class/System/System.CodeDom/CodeConstructor.cs
index 0d6a707ac15..f3955ef33a2 100755
--- a/mcs/class/System/System.CodeDom/CodeConstructor.cs
+++ b/mcs/class/System/System.CodeDom/CodeConstructor.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeConstructor : CodeMemberMethod {
CodeExpressionCollection baseConstructorArgs;
CodeExpressionCollection chainedConstructorArgs;
diff --git a/mcs/class/System/System.CodeDom/CodeDelegateCreateExpression.cs b/mcs/class/System/System.CodeDom/CodeDelegateCreateExpression.cs
index c27c140c29f..504d53f59df 100755
--- a/mcs/class/System/System.CodeDom/CodeDelegateCreateExpression.cs
+++ b/mcs/class/System/System.CodeDom/CodeDelegateCreateExpression.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeDelegateCreateExpression : CodeExpression {
string delegateType, methodName;
CodeExpression targetObject;
diff --git a/mcs/class/System/System.CodeDom/CodeDelegateInvokeExpression.cs b/mcs/class/System/System.CodeDom/CodeDelegateInvokeExpression.cs
index 9b918c4cd0b..3a94cdfcfb4 100755
--- a/mcs/class/System/System.CodeDom/CodeDelegateInvokeExpression.cs
+++ b/mcs/class/System/System.CodeDom/CodeDelegateInvokeExpression.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeDelegateInvokeExpression : CodeExpression {
CodeExpressionCollection parameters;
CodeExpression targetObject;
diff --git a/mcs/class/System/System.CodeDom/CodeExpression.cs b/mcs/class/System/System.CodeDom/CodeExpression.cs
index f140c9d0d5e..0a7e890c718 100755
--- a/mcs/class/System/System.CodeDom/CodeExpression.cs
+++ b/mcs/class/System/System.CodeDom/CodeExpression.cs
@@ -9,7 +9,8 @@
namespace System.CodeDom {
- public class CodeExpression {
+ [Serializable]
+ public class CodeExpression : CodeObject {
object userData;
//
diff --git a/mcs/class/System/System.CodeDom/CodeFieldReferenceExpression.cs b/mcs/class/System/System.CodeDom/CodeFieldReferenceExpression.cs
index 66581e84f22..7cc7fda7eb1 100755
--- a/mcs/class/System/System.CodeDom/CodeFieldReferenceExpression.cs
+++ b/mcs/class/System/System.CodeDom/CodeFieldReferenceExpression.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeFieldReferenceExpression : CodeExpression {
CodeExpression targetObject;
string fieldName;
diff --git a/mcs/class/System/System.CodeDom/CodeIndexerExpression.cs b/mcs/class/System/System.CodeDom/CodeIndexerExpression.cs
index 8dbc95b44a2..a20ed674713 100755
--- a/mcs/class/System/System.CodeDom/CodeIndexerExpression.cs
+++ b/mcs/class/System/System.CodeDom/CodeIndexerExpression.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeIndexerExpression : CodeExpression {
CodeExpression targetObject;
CodeExpression index;
diff --git a/mcs/class/System/System.CodeDom/CodeLinePragma.cs b/mcs/class/System/System.CodeDom/CodeLinePragma.cs
index d83a9f6c8c5..4240e65b63f 100755
--- a/mcs/class/System/System.CodeDom/CodeLinePragma.cs
+++ b/mcs/class/System/System.CodeDom/CodeLinePragma.cs
@@ -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;
diff --git a/mcs/class/System/System.CodeDom/CodeMemberEvent.cs b/mcs/class/System/System.CodeDom/CodeMemberEvent.cs
index 46f1fee42d9..7be21795c97 100755
--- a/mcs/class/System/System.CodeDom/CodeMemberEvent.cs
+++ b/mcs/class/System/System.CodeDom/CodeMemberEvent.cs
@@ -9,7 +9,8 @@
namespace System.CodeDom {
- public class CodeMemberEvent : CodeClassMember {
+ [Serializable]
+ public class CodeMemberEvent : CodeTypeMember {
string implementsType, type;
bool privateImplements;
diff --git a/mcs/class/System/System.CodeDom/CodeMemberMethod.cs b/mcs/class/System/System.CodeDom/CodeMemberMethod.cs
index aa417a2aeee..e3631ae42f9 100755
--- a/mcs/class/System/System.CodeDom/CodeMemberMethod.cs
+++ b/mcs/class/System/System.CodeDom/CodeMemberMethod.cs
@@ -9,7 +9,8 @@
namespace System.CodeDom {
- public class CodeMemberMethod : CodeClassMember {
+ [Serializable]
+ public class CodeMemberMethod : CodeTypeMember {
CodeParameterDeclarationExpressionCollection parameters;
CodeStatementCollection statements;
string implementsType;
diff --git a/mcs/class/System/System.CodeDom/CodeMemberProperty.cs b/mcs/class/System/System.CodeDom/CodeMemberProperty.cs
index 8889de098a0..79b3d897f5b 100755
--- a/mcs/class/System/System.CodeDom/CodeMemberProperty.cs
+++ b/mcs/class/System/System.CodeDom/CodeMemberProperty.cs
@@ -9,7 +9,8 @@
namespace System.CodeDom {
- public class CodeMemberProperty : CodeClassMember {
+ [Serializable]
+ public class CodeMemberProperty : CodeTypeMember {
CodeParameterDeclarationExpressionCollection parameters;
CodeStatementCollection getStatements, setStatements;
bool hasGet, hasSet;
diff --git a/mcs/class/System/System.CodeDom/CodeMethodInvokeExpression.cs b/mcs/class/System/System.CodeDom/CodeMethodInvokeExpression.cs
index cb51ff9b5d4..3d31ade2d76 100755
--- a/mcs/class/System/System.CodeDom/CodeMethodInvokeExpression.cs
+++ b/mcs/class/System/System.CodeDom/CodeMethodInvokeExpression.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeMethodInvokeExpression : CodeExpression {
string methodName;
CodeExpression targetObject;
diff --git a/mcs/class/System/System.CodeDom/CodeNamespace.cs b/mcs/class/System/System.CodeDom/CodeNamespace.cs
index 0794653cfd8..53844097a64 100755
--- a/mcs/class/System/System.CodeDom/CodeNamespace.cs
+++ b/mcs/class/System/System.CodeDom/CodeNamespace.cs
@@ -9,7 +9,8 @@
namespace System.CodeDom {
- public class CodeNamespace {
+ [Serializable]
+ public class CodeNamespace : CodeObject {
CodeClassCollection classes;
CodeNamespaceImportCollection imports;
bool allowLateBound, requireVariableDeclaration;
diff --git a/mcs/class/System/System.CodeDom/CodeNamespaceImport.cs b/mcs/class/System/System.CodeDom/CodeNamespaceImport.cs
index d13767c588e..2f93de1a2f0 100755
--- a/mcs/class/System/System.CodeDom/CodeNamespaceImport.cs
+++ b/mcs/class/System/System.CodeDom/CodeNamespaceImport.cs
@@ -9,7 +9,8 @@
namespace System.CodeDom {
- public class CodeNamespaceImport : CodeStatement {
+ [Serializable]
+ public class CodeNamespaceImport : CodeObject {
string nameSpace;
public CodeNamespaceImport () {}
diff --git a/mcs/class/System/System.CodeDom/CodeNamespaceImportCollection.cs b/mcs/class/System/System.CodeDom/CodeNamespaceImportCollection.cs
index d65ee247c4d..b86cd19fa42 100755
--- a/mcs/class/System/System.CodeDom/CodeNamespaceImportCollection.cs
+++ b/mcs/class/System/System.CodeDom/CodeNamespaceImportCollection.cs
@@ -11,6 +11,7 @@ namespace System.CodeDom {
using System.Collections;
+ [Serializable]
public class CodeNamespaceImportCollection : IList, ICollection, IEnumerable {
ArrayList namespaceImports;
diff --git a/mcs/class/System/System.CodeDom/CodeObject.cs b/mcs/class/System/System.CodeDom/CodeObject.cs
index b337390eaf4..28320578b0a 100755
--- a/mcs/class/System/System.CodeDom/CodeObject.cs
+++ b/mcs/class/System/System.CodeDom/CodeObject.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom
{
+ [Serializable]
public class CodeObject
{
}
diff --git a/mcs/class/System/System.CodeDom/CodeObjectCreateExpression.cs b/mcs/class/System/System.CodeDom/CodeObjectCreateExpression.cs
index 421d2aa29de..b144c887836 100755
--- a/mcs/class/System/System.CodeDom/CodeObjectCreateExpression.cs
+++ b/mcs/class/System/System.CodeDom/CodeObjectCreateExpression.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeObjectCreateExpression : CodeExpression {
string createType;
CodeExpressionCollection parameters;
diff --git a/mcs/class/System/System.CodeDom/CodeParameterDeclarationExpression.cs b/mcs/class/System/System.CodeDom/CodeParameterDeclarationExpression.cs
index 93f4b0ee7b0..4db95319dbf 100755
--- a/mcs/class/System/System.CodeDom/CodeParameterDeclarationExpression.cs
+++ b/mcs/class/System/System.CodeDom/CodeParameterDeclarationExpression.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeParameterDeclarationExpression : CodeExpression {
FieldDirection direction;
CodeAttributeBlock customAttributes;
diff --git a/mcs/class/System/System.CodeDom/CodeParameterDeclarationExpressionCollection.cs b/mcs/class/System/System.CodeDom/CodeParameterDeclarationExpressionCollection.cs
index 970e9ec78e7..713c3ed7da3 100755
--- a/mcs/class/System/System.CodeDom/CodeParameterDeclarationExpressionCollection.cs
+++ b/mcs/class/System/System.CodeDom/CodeParameterDeclarationExpressionCollection.cs
@@ -11,6 +11,7 @@ namespace System.CodeDom {
using System.Collections;
+ [Serializable]
public class CodeParameterDeclarationExpressionCollection : IList, ICollection, IEnumerable {
ArrayList parameterDeclExprs;
diff --git a/mcs/class/System/System.CodeDom/CodePrimitiveExpression.cs b/mcs/class/System/System.CodeDom/CodePrimitiveExpression.cs
index 98d64e3ae0a..ace039075e7 100755
--- a/mcs/class/System/System.CodeDom/CodePrimitiveExpression.cs
+++ b/mcs/class/System/System.CodeDom/CodePrimitiveExpression.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodePrimitiveExpression : CodeExpression {
object value;
diff --git a/mcs/class/System/System.CodeDom/CodePropertyReferenceExpression.cs b/mcs/class/System/System.CodeDom/CodePropertyReferenceExpression.cs
index 13f4471ce0c..bcaf37ac1ec 100755
--- a/mcs/class/System/System.CodeDom/CodePropertyReferenceExpression.cs
+++ b/mcs/class/System/System.CodeDom/CodePropertyReferenceExpression.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodePropertyReferenceExpression : CodeExpression {
CodeExpressionCollection parameters;
CodeExpression targetObject;
diff --git a/mcs/class/System/System.CodeDom/CodeStatement.cs b/mcs/class/System/System.CodeDom/CodeStatement.cs
index d75c9b4c1a4..eef55f21615 100755
--- a/mcs/class/System/System.CodeDom/CodeStatement.cs
+++ b/mcs/class/System/System.CodeDom/CodeStatement.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom
{
+ [Serializable]
public class CodeStatement : CodeObject
{
}
diff --git a/mcs/class/System/System.CodeDom/CodeStatementCollection.cs b/mcs/class/System/System.CodeDom/CodeStatementCollection.cs
index 6a70aeafd2a..dfa24764acb 100755
--- a/mcs/class/System/System.CodeDom/CodeStatementCollection.cs
+++ b/mcs/class/System/System.CodeDom/CodeStatementCollection.cs
@@ -11,6 +11,7 @@ namespace System.CodeDom {
using System.Collections;
+ [Serializable]
public class CodeStatementCollection : IList, ICollection, IEnumerable {
ArrayList statements;
diff --git a/mcs/class/System/System.CodeDom/CodeThisReferenceExpression.cs b/mcs/class/System/System.CodeDom/CodeThisReferenceExpression.cs
index 4084e04f7b2..65d60718136 100755
--- a/mcs/class/System/System.CodeDom/CodeThisReferenceExpression.cs
+++ b/mcs/class/System/System.CodeDom/CodeThisReferenceExpression.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeThisReferenceExpression : CodeExpression {
public CodeThisReferenceExpression () { }
}
diff --git a/mcs/class/System/System.CodeDom/CodeThrowExceptionStatement.cs b/mcs/class/System/System.CodeDom/CodeThrowExceptionStatement.cs
index 4b3071515be..49638514a0c 100755
--- a/mcs/class/System/System.CodeDom/CodeThrowExceptionStatement.cs
+++ b/mcs/class/System/System.CodeDom/CodeThrowExceptionStatement.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeThrowExceptionStatement : CodeStatement {
CodeExpression toThrow;
diff --git a/mcs/class/System/System.CodeDom/CodeTryCatchFinallyStatement.cs b/mcs/class/System/System.CodeDom/CodeTryCatchFinallyStatement.cs
index 2ad078a9d4e..d0a9e74fec2 100755
--- a/mcs/class/System/System.CodeDom/CodeTryCatchFinallyStatement.cs
+++ b/mcs/class/System/System.CodeDom/CodeTryCatchFinallyStatement.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeTryCatchFinallyStatement : CodeStatement {
CodeStatementCollection tryStatements, finallyStatements;
CodeCatchClauseCollection catchClauses;
diff --git a/mcs/class/System/System.CodeDom/CodeTypeDeclaration.cs b/mcs/class/System/System.CodeDom/CodeTypeDeclaration.cs
index df75140f8b5..ce4a24db776 100755
--- a/mcs/class/System/System.CodeDom/CodeTypeDeclaration.cs
+++ b/mcs/class/System/System.CodeDom/CodeTypeDeclaration.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom
{
+ [Serializable]
public class CodeTypeDeclaration : CodeTypeMember
{
}
diff --git a/mcs/class/System/System.CodeDom/CodeTypeMember.cs b/mcs/class/System/System.CodeDom/CodeTypeMember.cs
index 0aafef744d7..fefc6ce4e1b 100755
--- a/mcs/class/System/System.CodeDom/CodeTypeMember.cs
+++ b/mcs/class/System/System.CodeDom/CodeTypeMember.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom
{
+ [Serializable]
public class CodeTypeMember : CodeObject {
private string name;
diff --git a/mcs/class/System/System.CodeDom/CodeTypeOfExpression.cs b/mcs/class/System/System.CodeDom/CodeTypeOfExpression.cs
index 3a496f95923..2de1561244c 100755
--- a/mcs/class/System/System.CodeDom/CodeTypeOfExpression.cs
+++ b/mcs/class/System/System.CodeDom/CodeTypeOfExpression.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeTypeOfExpression : CodeExpression {
string type;
diff --git a/mcs/class/System/System.CodeDom/CodeTypeReferenceExpression.cs b/mcs/class/System/System.CodeDom/CodeTypeReferenceExpression.cs
index 8fcbc04ef77..3fdb568e292 100755
--- a/mcs/class/System/System.CodeDom/CodeTypeReferenceExpression.cs
+++ b/mcs/class/System/System.CodeDom/CodeTypeReferenceExpression.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeTypeReferenceExpression : CodeExpression {
string type;
diff --git a/mcs/class/System/System.CodeDom/CodeVariableDeclarationStatement.cs b/mcs/class/System/System.CodeDom/CodeVariableDeclarationStatement.cs
index faff810835f..497f5e664a3 100755
--- a/mcs/class/System/System.CodeDom/CodeVariableDeclarationStatement.cs
+++ b/mcs/class/System/System.CodeDom/CodeVariableDeclarationStatement.cs
@@ -9,6 +9,7 @@
namespace System.CodeDom {
+ [Serializable]
public class CodeVariableDeclarationStatement : CodeStatement {
CodeExpression initExpression;
string type, name;