Merge branch 'master' of github.com:mono/mono
[mono.git] / mcs / class / System.Web / System.Web.UI / DataBinder.cs
index 471138df3ee4e55c24a7214c3323657bcaa060f6..822ac4b34639eb37d365995d1842c82c95207f99 100644 (file)
@@ -6,7 +6,7 @@
 //     Gonzalo Paniagua Javier (gonzalo@ximian.com)
 //
 // (C) 2002 Ximian, Inc. (http://www.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
 //
 
 using System.Collections;
+using System.Collections.Generic;
 using System.ComponentModel;
 using System.Reflection;
 using System.Security.Permissions;
-#if NET_2_0
-using System.Collections.Generic;
-#endif
 
 namespace System.Web.UI {
 
@@ -197,7 +195,6 @@ namespace System.Web.UI {
                        return FormatResult (result, format);
                }
 
-               #if NET_2_0
                [ThreadStatic]
                static Dictionary<Type, PropertyInfo> dataItemCache;
        
@@ -236,7 +233,6 @@ namespace System.Web.UI {
                        bool flag;
                        return GetDataItem (container, out flag); 
                }
-               #endif
        }
 }