// Authors:
// Sanjay Gupta (gsanjay@novell.com)
//
-// (C) 2004 Novell, Inc. (http://www.novell.com)
+// (C) 2004-2010 Novell, Inc. (http://www.novell.com)
//
//
// 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;
[AttributeUsage (AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public sealed class FilterableAttribute : Attribute
{
- private bool filterable;
+ bool filterable;
public FilterableAttribute (bool filterable)
{
if (attrib is FilterableAttribute)
return true;
}
- return false;
+ return false;
}
public static bool IsTypeFilterable (Type type)
if (attrib is FilterableAttribute)
return true;
}
- return false;
+ return false;
}
}
}
-#endif