Beispiel #1
0
        bool IDictionary <K, V> .TryGetValue(K key, ref V value)
        {
            FSharpOption <Tuple <K, V> > fsharpOption = (FSharpOption <Tuple <K, V> >)SeqModule.TryFind <Tuple <K, V> >((FSharpFunc <M0, bool>) new SeriesExtensions.System\u002DCollections\u002DGeneric\u002DIDictionary\u002DTryGetValue <K, V>(key), (IEnumerable <M0>)SeqModule.Zip <K, V>((IEnumerable <M0>) this.keys, (IEnumerable <M1>) this.values));

            if (fsharpOption == null)
            {
                return(false);
            }
            V v = fsharpOption.get_Value().Item2;

            value = v;
            return(true);
        }