Ejemplo n.º 1
0
        public static bool Remove <T>(UnsafeSortedSet *set, T item)
            where T : unmanaged, IComparable <T>
        {
            UDebug.Assert(set != null);
            UDebug.Assert(typeof(T).TypeHandle.Value == set->_typeHandle);

            return(UnsafeOrderedCollection.Remove <T>(&set->_collection, item));
        }
        public static bool Remove <K>(UnsafeSortedDictionary *map, K Key)
            where K : unmanaged, IComparable <K>
        {
            UDebug.Assert(map != null);
            UDebug.Assert(typeof(K).TypeHandle.Value == map->_typeHandleKey);

            return(UnsafeOrderedCollection.Remove <K>(&map->_collection, Key));
        }