From 93aa62035612121523adf1ba47c27dd22866cb25 Mon Sep 17 00:00:00 2001 From: Owen Fraser-Green Date: Wed, 24 Mar 2004 10:28:15 +0000 Subject: Changed Suits method to not look recursively for Interface attributes --- mono/DBusType/ObjectPath.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mono') diff --git a/mono/DBusType/ObjectPath.cs b/mono/DBusType/ObjectPath.cs index e20ae18d..6e03e2d1 100644 --- a/mono/DBusType/ObjectPath.cs +++ b/mono/DBusType/ObjectPath.cs @@ -60,7 +60,7 @@ namespace DBus.DBusType public static bool Suits(System.Type type) { - object[] attributes = type.GetCustomAttributes(typeof(InterfaceAttribute), true); + object[] attributes = type.GetCustomAttributes(typeof(InterfaceAttribute), false); if (attributes.Length == 1) { return true; } else { -- cgit