Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Habersack <grendel@twistedcode.net>2010-04-03 04:25:13 +0400
committerMarek Habersack <grendel@twistedcode.net>2010-04-03 04:25:13 +0400
commitdd0fe784188aa905c47fce355f2a8573dc5a8c6a (patch)
treec831c34026eb2e1b7547506746938da74ac0f67f /mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTableRow.cs
parentb1bbc5ad14d35acbf6f68fa8139533d8634e899e (diff)
Removed another batch of pre 2.0 code + some cosmetics
svn path=/trunk/mcs/; revision=154746
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTableRow.cs')
-rw-r--r--mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTableRow.cs19
1 files changed, 6 insertions, 13 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTableRow.cs b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTableRow.cs
index b58ce168181..c54b3570acb 100644
--- a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTableRow.cs
+++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTableRow.cs
@@ -4,7 +4,7 @@
// Author:
// Sebastien Pouliot <sebastien@ximian.com>
//
-// 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
@@ -29,24 +29,22 @@
using System.ComponentModel;
using System.Security.Permissions;
-namespace System.Web.UI.HtmlControls {
-
+namespace System.Web.UI.HtmlControls
+{
// CAS
[AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
// attributes
[ParseChildren (true, "Cells")]
- public class HtmlTableRow : HtmlContainerControl {
-
+ public class HtmlTableRow : HtmlContainerControl
+ {
HtmlTableCellCollection _cells;
-
public HtmlTableRow ()
: base ("tr")
{
}
-
[DefaultValue ("")]
[DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
[WebSysDescription("")]
@@ -162,12 +160,7 @@ namespace System.Web.UI.HtmlControls {
return new HtmlTableCellControlCollection (this);
}
-#if NET_2_0
- protected internal
-#else
- protected
-#endif
- override void RenderChildren (HtmlTextWriter writer)
+ protected internal override void RenderChildren (HtmlTextWriter writer)
{
if (HasControls ()) {
writer.Indent++;