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>2008-10-20 21:37:54 +0400
committerMarek Habersack <grendel@twistedcode.net>2008-10-20 21:37:54 +0400
commitef9c9e51ce0bfcd3f9f9add914eab72d4363b00d (patch)
treea015300d968441a8405ec73c258749b5f660f92e /mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTableRow.cs
parenta327b1f9e0a9c00759cbc254b4ddb0313f9737ce (diff)
Do not abuse the 'private' keyword
svn path=/trunk/mcs/; revision=116539
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.cs4
1 files changed, 2 insertions, 2 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 7c3780f5b65..b58ce168181 100644
--- a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTableRow.cs
+++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTableRow.cs
@@ -38,7 +38,7 @@ namespace System.Web.UI.HtmlControls {
[ParseChildren (true, "Cells")]
public class HtmlTableRow : HtmlContainerControl {
- private HtmlTableCellCollection _cells;
+ HtmlTableCellCollection _cells;
public HtmlTableRow ()
@@ -152,7 +152,7 @@ namespace System.Web.UI.HtmlControls {
}
}
- private int Count {
+ int Count {
get { return (_cells == null) ? 0 : _cells.Count; }
}