Exemple #1
0
        public override bool _0001(Type def)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            if (typeof(IEnumerable).IsAssignableFrom(def))
            {
                return(false);
            }
            object[] customAttributes = def.GetCustomAttributes(inherit: true);
            bool     flag             = false;

            object[] array = customAttributes;
            for (int i = 0; i < array.Length; i++)
            {
                Type type = array[i].GetType();
                if (type.FullName == "Microsoft.FSharp.Core.CompilationMappingAttribute")
                {
                    PropertyTest.MoveIssuer(type.RevertReader());
                    flag = true;
                    break;
                }
            }
            if (!flag)
            {
                return(false);
            }
            return((bool)PropertyTest._0001()._0001()(null, new object[2]
            {
                def,
                null
            }));
        }
 private void StartClient(Type last)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     if (!_0006() && last.Name == "FSharpList`1")
     {
         PropertyTest.MoveIssuer(last.RevertReader());
         m_ExpressionTest = PropertyTest._0001().ForgotIssuer(this._0001());
     }
 }
Exemple #3
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;
            }
        }