Example #1
0
        public ParamClientBridge(Type asset)
        {
            //Discarded unreachable code: IL_0002, IL_0006
            //IL_0003: Incompatible stack heights: 0 vs 1
            //IL_0007: Incompatible stack heights: 0 vs 1
            SingletonReader.PushGlobal();
            base._002Ector(asset);
            _ErrorProperty = (ParameterFilterResolver)5;
            Type second;
            Type util;

            if (ResolverErrorFilter.FillReader(asset, typeof(IDictionary <, >), out m_AttrProperty))
            {
                second = m_AttrProperty.GetGenericArguments()[0];
                util   = m_AttrProperty.GetGenericArguments()[1];
                if (ResolverErrorFilter.OrderReader(base._0002(), typeof(IDictionary <, >)))
                {
                    _0002(typeof(Dictionary <, >).MakeGenericType(second, util));
                }
                else if (asset.CallReader() && asset.GetGenericTypeDefinition().FullName == "System.Collections.Concurrent.ConcurrentDictionary`2")
                {
                    printerProperty = true;
                }
            }
            else
            {
                ResolverErrorFilter.MapReader(base._0002(), out second, out util);
                if (base._0002() == typeof(IDictionary))
                {
                    _0002(typeof(Dictionary <object, object>));
                }
            }
            if (second != null && util != null)
            {
                m_MappingProperty = ObserverIteratorMapping.InitTest(base._0003(), typeof(KeyValuePair <, >).MakeGenericType(second, util), typeof(IDictionary <, >).MakeGenericType(second, util));
                if (!this._0003() && asset.Name == "FSharpMap`2")
                {
                    PropertyTest.MoveIssuer(asset.RevertReader());
                    _ObserverProperty = PropertyTest._0001().IncludeIssuer(second, util);
                }
            }
            if (!typeof(IDictionary).IsAssignableFrom(base._0003()))
            {
                printerProperty = true;
            }
            queueProperty   = second;
            m_ProxyProperty = util;
            if (this._0001() != null && _0004() != null && ParamRequestStrategy.InstantiateIssuer(asset, this._0001(), _0004(), out Type _0005, out GDBD.Specifications.AdapterClassSpec <object> _0006))
            {
                _0002(_0005);
                _ObserverProperty = _0006;
                composerProperty  = true;
            }
        }