Flush (work in progress)
[mono.git] / mcs / class / System.Web / System.Web.UI / DesignerDataBoundLiteralControl.cs
index 3557f19ec1d79392f99dc2d06773951b1a36d722..e04bd37626712e4dca7a95d8281f5a263eed50a2 100644 (file)
@@ -5,7 +5,7 @@
 //   Andreas Nahr (ClassDevelopment@A-SoftTech.com)
 //
 // (C) 2003 Andreas Nahr
-// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2005-2010 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
@@ -39,7 +39,7 @@ namespace System.Web.UI
        [DataBindingHandler ("System.Web.UI.Design.TextDataBindingHandler, " + Consts.AssemblySystem_Design)]
        public sealed class DesignerDataBoundLiteralControl : Control
        {
-               private string text = "";
+               string text = String.Empty;
 
                public DesignerDataBoundLiteralControl ()
                {
@@ -67,12 +67,7 @@ namespace System.Web.UI
                                text = (string) savedState;
                }
 
-#if NET_2_0
-               protected internal
-#else
-               protected
-#endif
-               override void Render (HtmlTextWriter output)
+               protected internal override void Render (HtmlTextWriter output)
                {
                        output.Write (text);
                }