Merge pull request #2530 from lambdageek/monoerror-mono_string_new
[mono.git] / mcs / class / System.Web / System.Web / SiteMapNodeCollection.cs
index ed431ac4aef8e32cc99d6bcddb17afa069c9c95d..84a92091ce61b5ff19824c40c7cfaefc8c2d7426 100644 (file)
@@ -6,7 +6,7 @@
 //     Lluis Sanchez Gual (lluis@novell.com)
 //
 //  (C) 2003 Ben Maurer
-//  (C) 2005 Novell, Inc (http://www.novell.com)
+//  (C) 2005-2009 Novell, Inc (http://www.novell.com)
 //
 
 //
@@ -30,7 +30,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
 using System.Collections;
 using System.Collections.Specialized;
 using System.Text;
@@ -42,16 +41,7 @@ namespace System.Web
        public class SiteMapNodeCollection : IList, IHierarchicalEnumerable
        {
                ArrayList list;
-#if TARGET_JVM
-               const string _siteMapNodeCollection_EmptyList = "SiteMapNodeCollection.EmptyList";
-               internal static SiteMapNodeCollection EmptyList
-               {
-                       get { return (SiteMapNodeCollection) AppDomain.CurrentDomain.GetData (_siteMapNodeCollection_EmptyList); }
-                       set { AppDomain.CurrentDomain.SetData (_siteMapNodeCollection_EmptyList, value); }
-               }
-#else
                internal static SiteMapNodeCollection EmptyList;
-#endif
                
                static SiteMapNodeCollection ()
                {
@@ -307,5 +297,5 @@ namespace System.Web
                #endregion
        }
 }
-#endif
+