Commit 93aa6203 authored by Owen Fraser-Green's avatar Owen Fraser-Green

Changed Suits method to not look recursively for Interface attributes

parent 632d54e0
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment