added missing [Serializable] attribute
[mono.git] / mcs / class / System / System.CodeDom / CodeMemberMethod.cs
1 //
2 // System.CodeDom CodeMemberMethod Class implementation
3 //
4 // Author:
5 //   Miguel de Icaza (miguel@ximian.com)
6 //
7 // (C) 2001 Ximian, Inc.
8 //
9
10 namespace System.CodeDom {
11
12         [Serializable]
13         public class CodeMemberMethod : CodeTypeMember {
14                 CodeParameterDeclarationExpressionCollection parameters;
15                 CodeStatementCollection statements;
16                 string implementsType;
17                 string returnType;
18                 bool   privateImplements;
19                 
20                 public CodeMemberMethod ()
21                 {
22                 }
23
24                 public string ImplementsType {
25                         get {
26                                 return implementsType;
27                         }
28
29                         set {
30                                 implementsType = value;
31                         }
32                 }
33
34                 public bool PrivateImplements {
35                         get {
36                                 return privateImplements;
37                         }
38
39                         set {
40                                 privateImplements = value;
41                         }
42                 }
43
44                 public string ReturnType {
45                         get {
46                                 return returnType;
47                         }
48
49                         set {
50                                 returnType = value;
51                         }
52                 }
53
54                 public CodeParameterDeclarationExpressionCollection Parameters {
55                         get {
56                                 return parameters;
57                         }
58
59                         set {
60                                 parameters = value;
61                         }
62                 }
63
64                 public CodeStatementCollection Statements {
65                         get {
66                                 return statements;
67                         }
68
69                         set {
70                                 statements = value;
71                         }
72                 }
73         }
74 }