summaryrefslogtreecommitdiffstats
path: root/mono
diff options
context:
space:
mode:
authorOwen Fraser-Green <owen@discobabe.net>2004-03-24 10:28:15 +0000
committerOwen Fraser-Green <owen@discobabe.net>2004-03-24 10:28:15 +0000
commit93aa62035612121523adf1ba47c27dd22866cb25 (patch)
tree3fcf2de4defb232e6e58750f2cc547eb10ea3935 /mono
parent632d54e0dbf5e405258be7afffbaa48942c06cbc (diff)
Changed Suits method to not look recursively for Interface attributes
Diffstat (limited to 'mono')
-rw-r--r--mono/DBusType/ObjectPath.cs2
1 files changed, 1 insertions, 1 deletions
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 {