static bool HasSynchronizingObject(TypeReference tr) { foreach (TypeDefinition type in tr.AllSuperTypes()) { if (type.GetMethod(SetSynchronizingObject) != null) { return(true); } } return(false); }
static bool HasSynchronizingObject(TypeReference tr) { foreach (TypeDefinition type in tr.AllSuperTypes()) { if (type.GetMethod(SetSynchronizingObject) != null) { return(true); } } return(false); }