New test.
[mono.git] / mcs / class / System / System.CodeDom / CodeStatement.cs
old mode 100755 (executable)
new mode 100644 (file)
index 661c3b7..8c039fe
@@ -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.
 //
@@ -40,6 +41,11 @@ namespace System.CodeDom
                : CodeObject
        {
                private CodeLinePragma linePragma;
+
+#if NET_2_0
+               CodeDirectiveCollection endDirectives;
+               CodeDirectiveCollection startDirectives;
+#endif
                
                //
                // Constructors
@@ -59,5 +65,24 @@ namespace System.CodeDom
                                linePragma = value;
                        }
                }
+
+#if NET_2_0
+               public CodeDirectiveCollection EndDirectives {
+                       get {
+                               if (endDirectives == null)
+                                       endDirectives = new CodeDirectiveCollection ();
+                               return endDirectives;
+                       }
+               }
+
+               public CodeDirectiveCollection StartDirectives {
+                       get {
+                               if (startDirectives == null)
+                                       startDirectives = new CodeDirectiveCollection ();
+                               return startDirectives;
+                       }
+               }
+
+#endif
        }
 }