Merge pull request #2916 from ludovic-henry/fix-40306
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / ContentPlaceHolder.cs
index 439e9d6b844389a3553c98981f5cc4fa416381c8..5dc6cc60fa47f9e965b477de3c11a9b5707bdff4 100644 (file)
@@ -4,7 +4,7 @@
 // Authors:
 //   Lluis Sanchez Gual (lluis@novell.com)
 //
-// (C) 2005 Novell, Inc.
+// (C) 2005-2010 Novell, Inc.
 //
 
 //
@@ -28,8 +28,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
-
 using System;
 using System.Collections;
 using System.ComponentModel;
@@ -42,9 +40,8 @@ namespace System.Web.UI.WebControls
                                
        [ToolboxDataAttribute ("<;{0}:ContentPlaceHolder runat=&quot;server&quot;></{0}:ContentPlaceHolder>")]
        [ControlBuilder(typeof(ContentPlaceHolderBuilder))] 
-       public class ContentPlaceHolder: Control, INamingContainer
+       public class ContentPlaceHolder: Control, INamingContainer, INonBindingContainer
        {
        }
 }
 
-#endif