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:
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI/ControlCollection.cs')
-rw-r--r--mcs/class/System.Web/System.Web.UI/ControlCollection.cs18
1 files changed, 3 insertions, 15 deletions
diff --git a/mcs/class/System.Web/System.Web.UI/ControlCollection.cs b/mcs/class/System.Web/System.Web.UI/ControlCollection.cs
index a9b1b3a4935..a850439fa37 100644
--- a/mcs/class/System.Web/System.Web.UI/ControlCollection.cs
+++ b/mcs/class/System.Web/System.Web.UI/ControlCollection.cs
@@ -51,11 +51,7 @@ namespace System.Web.UI {
this.owner = owner;
}
- public
-#if NET_2_0
- virtual
-#endif
- int Count {
+ public int Count {
get { return count; }
}
@@ -159,11 +155,7 @@ namespace System.Web.UI {
return (controls != null && Array.IndexOf (controls, c) != -1);
}
- public
-#if NET_2_0
- virtual
-#endif
- void CopyTo (Array array, int index)
+ public void CopyTo (Array array, int index)
{
if (controls == null)
return;
@@ -186,11 +178,7 @@ namespace System.Web.UI {
array.SetValue (controls [i], i);
}
- public
-#if NET_2_0
- virtual
-#endif
- IEnumerator GetEnumerator ()
+ public IEnumerator GetEnumerator ()
{
return new SimpleEnumerator (this);
}