diff options
author | Owen Fraser-Green <owen@discobabe.net> | 2004-03-24 10:28:15 +0000 |
---|---|---|
committer | Owen Fraser-Green <owen@discobabe.net> | 2004-03-24 10:28:15 +0000 |
commit | 93aa62035612121523adf1ba47c27dd22866cb25 (patch) | |
tree | 3fcf2de4defb232e6e58750f2cc547eb10ea3935 | |
parent | 632d54e0dbf5e405258be7afffbaa48942c06cbc (diff) |
Changed Suits method to not look recursively for Interface attributes
-rw-r--r-- | mono/DBusType/ObjectPath.cs | 2 |
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 { |