Example #1
0
        bool IDictionary <K, V> .Remove(K key)
        {
            FSharpList <Tuple <K, V> > fsharpList = (FSharpList <Tuple <K, V> >)ListModule.Filter <Tuple <K, V> >((FSharpFunc <M0, bool>) new SeriesExtensions.newPairs <K, V>(key), (FSharpList <M0>)ListModule.Zip <K, V>((FSharpList <M0>) this.keys, (FSharpList <M1>) this.values));
            bool flag = fsharpList.get_Length() < this.keys.get_Length();

            this.keys   = (FSharpList <K>)ListModule.Map <Tuple <K, V>, K>((FSharpFunc <M0, M1>) new SeriesExtensions.System\u002DCollections\u002DGeneric\u002DIDictionary\u002DRemove <K, V>(), (FSharpList <M0>)fsharpList);
            this.values = (FSharpList <V>)ListModule.Map <Tuple <K, V>, V>((FSharpFunc <M0, M1>) new SeriesExtensions.System\u002DCollections\u002DGeneric\u002DIDictionary\u002DRemove <K, V>(), (FSharpList <M0>)fsharpList);
            return(flag);
        }