Fix problems with overlong directory names: phase #1
[mono.git] / mcs / class / System / System.CodeDom / CodeTypeDeclaration.cs
old mode 100755 (executable)
new mode 100644 (file)
index d5b1e2c..adf0e86
@@ -4,6 +4,7 @@
 // Author:
 //   Sean MacIsaac (macisaac@ximian.com)
 //   Daniel Stodden (stodden@in.tum.de)
+//   Marek Safar (marek.safar@seznam.cz)
 //
 // (C) 2001 Ximian, Inc.
 //
@@ -46,6 +47,11 @@ namespace System.CodeDom
                private bool isEnum;
                private bool isStruct;
 
+#if NET_2_0
+               bool isPartial;
+               CodeTypeParameterCollection typeParameters;
+#endif
+
                //
                // Constructors
                //
@@ -160,6 +166,26 @@ namespace System.CodeDom
                        }
                }
 
+#if NET_2_0
+               public bool IsPartial {
+                       get {
+                               return isPartial;
+                       }
+                       set {
+                               isPartial = value;
+                       }
+               }
+
+               [ComVisible (false)]
+               public CodeTypeParameterCollection TypeParameters {
+                       get {
+                               if (typeParameters == null)
+                                       typeParameters = new CodeTypeParameterCollection ();
+                               return typeParameters;
+                       }
+               }
+#endif
+
                //
                // Events
                //