mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-08 09:08:15 +02:00
Changed Suits method to not look recursively for Interface attributes
This commit is contained in:
parent
632d54e0db
commit
93aa620356
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue