X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web%2FSystem.Web.UI%2FFilterableAttribute.cs;h=afbfb3bb68a937a6efa599a0fd6609026df5866d;hb=427e3f59fe9ada440982f9ed7dab0b476606302a;hp=61834b75c327183972ab08212c8a3404dbccc6ca;hpb=e51a9b6ba1a93bc981639a706c93bee413099fd6;p=mono.git diff --git a/mcs/class/System.Web/System.Web.UI/FilterableAttribute.cs b/mcs/class/System.Web/System.Web.UI/FilterableAttribute.cs index 61834b75c32..afbfb3bb68a 100644 --- a/mcs/class/System.Web/System.Web.UI/FilterableAttribute.cs +++ b/mcs/class/System.Web/System.Web.UI/FilterableAttribute.cs @@ -4,7 +4,7 @@ // Authors: // Sanjay Gupta (gsanjay@novell.com) // -// (C) 2004 Novell, Inc. (http://www.novell.com) +// (C) 2004-2010 Novell, Inc. (http://www.novell.com) // // @@ -27,7 +27,6 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System; using System.ComponentModel; @@ -35,7 +34,7 @@ namespace System.Web.UI { [AttributeUsage (AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public sealed class FilterableAttribute : Attribute { - private bool filterable; + bool filterable; public FilterableAttribute (bool filterable) { @@ -84,7 +83,7 @@ namespace System.Web.UI { if (attrib is FilterableAttribute) return true; } - return false; + return false; } public static bool IsTypeFilterable (Type type) @@ -95,8 +94,7 @@ namespace System.Web.UI { if (attrib is FilterableAttribute) return true; } - return false; + return false; } } } -#endif