public static bool Contains <T>(UnsafeOrderedSet *set, T item) where T : unmanaged, IComparable <T> { return(UnsafeOrderedCollection.Find <T>(&set->_collection, item) != null); }