private bool CustomizeBroadcaster(RecordClassDispatcher res, object pol, ProductInstanceExpression filter, ProcTest second2, InitializerTest cfg3, ProductInstanceExpression visitor4)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            if (pol == null)
            {
                return(true);
            }
            if (second2._ErrorProperty == (ParameterFilterResolver)3 || second2._ErrorProperty == (ParameterFilterResolver)4)
            {
                return(true);
            }
            FacadeComposer?facadeComposer = null;

            if (filter != null)
            {
                facadeComposer = filter._0001();
            }
            if (!facadeComposer.HasValue && visitor4 != null)
            {
                facadeComposer = visitor4._0002();
            }
            if (!facadeComposer.HasValue && cfg3 != null)
            {
                facadeComposer = cfg3._0001();
            }
            if ((baseProperty.m_SpecificationError != null) ? wrapperProperty.CollectTest(pol, baseProperty.m_SpecificationError) : wrapperProperty.Contains(pol))
            {
                string str = "Self referencing loop detected";
                if (filter != null)
                {
                    str += " for property '{0}'".ListReader(CultureInfo.InvariantCulture, filter._0001());
                }
                str += " with type '{0}'.".ListReader(CultureInfo.InvariantCulture, pol.GetType());
                switch (facadeComposer.GetValueOrDefault(baseProperty.helperError))
                {
                case (FacadeComposer)0:
                    throw StrategyError.ValidateComposer(null, res._0001(), str, null);

                case (FacadeComposer)1:
                    if (containerProperty != null && containerProperty._0001() >= TraceLevel.Verbose)
                    {
                        containerProperty._0001(TraceLevel.Verbose, QueueError.ComputeError(null, res._0002(), str + ". Skipping serializing self referenced value."), null);
                    }
                    return(false);

                case (FacadeComposer)2:
                    if (containerProperty != null && containerProperty._0001() >= TraceLevel.Verbose)
                    {
                        containerProperty._0001(TraceLevel.Verbose, QueueError.ComputeError(null, res._0002(), str + ". Serializing self referenced value."), null);
                    }
                    return(true);
                }
            }
            return(true);
        }
 private string CancelBroadcaster(RecordClassDispatcher info, object attr)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     try
     {
         return(baseProperty.StopComposer()._0001((object)this, attr));
     }
     catch (Exception setup)
     {
         throw StrategyError.ValidateComposer(null, info._0001(), "Error writing object reference for '{0}'.".ListReader(CultureInfo.InvariantCulture, attr.GetType()), setup);
     }
 }
        private bool CollectBroadcaster(RecordClassDispatcher init, object pol, InitializerTest helper, [global::_0008._0012(2)] ProductInstanceExpression _0005, ProductInstanceExpression asset3, [global::_0008._0012(2)][ConsumerBroadcasterDispatcher(true)] out ProcTest _0007, [ConsumerBroadcasterDispatcher(true)][global::_0008._0012(2)] out object _0008)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            if (!asset3._0001() && asset3._0002() && MapClass(init, asset3, pol) && InsertClass(init, asset3, pol))
            {
                if (asset3._0001() == null)
                {
                    asset3._0001(baseProperty.listenerError._0001(asset3._0002()));
                }
                _0008 = asset3._0001()._0001(pol);
                _0007 = (asset3._0001().propertyProperty ? asset3._0001() : DeleteBroadcaster(_0008));
                if (AssetBroadcaster(_0008, helper as PrototypeFilterResolver, asset3))
                {
                    if (CountBroadcaster(_0008, asset3, _0007, helper, _0005))
                    {
                        asset3.DefineClient(init);
                        QueryBroadcaster(init, _0008);
                        return(false);
                    }
                    if (!CustomizeBroadcaster(init, _0008, asset3, _0007, helper, _0005))
                    {
                        return(false);
                    }
                    if (_0008 == null)
                    {
                        PrototypeFilterResolver prototypeFilterResolver = helper as PrototypeFilterResolver;
                        switch (asset3.contextProperty ?? (prototypeFilterResolver?._0001()).GetValueOrDefault())
                        {
                        case (SpecificationTestItem)2:
                            throw StrategyError.ValidateComposer(null, init._0001(), "Cannot write a null value for property '{0}'. Property requires a value.".ListReader(CultureInfo.InvariantCulture, asset3._0001()), null);

                        case (SpecificationTestItem)3:
                            throw StrategyError.ValidateComposer(null, init._0001(), "Cannot write a null value for property '{0}'. Property requires a non-null value.".ListReader(CultureInfo.InvariantCulture, asset3._0001()), null);
                        }
                    }
                    return(true);
                }
            }
            _0007 = null;
            _0008 = null;
            return(false);
        }
        private void OrderClass(RecordClassDispatcher first, ISerializable visitor, CollectionProperty dic, ProductInstanceExpression selection2, InitializerTest cust3, ProductInstanceExpression asset4)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            if (!ConfigProperty._0002())
            {
                string asset5 = "Type '{0}' implements ISerializable but cannot be serialized using the ISerializable interface because the current application is not fully trusted and ISerializable can expose secure data." + Environment.NewLine + "To fix this error either change the environment to be fully trusted, change the application to not deserialize the type, add JsonObjectAttribute to the type or change the JsonSerializer setting ContractResolver to use a new DefaultContractResolver with IgnoreSerializableInterface set to true." + Environment.NewLine;
                asset5 = asset5.ListReader(CultureInfo.InvariantCulture, visitor.GetType());
                throw StrategyError.ValidateComposer(null, first._0001(), asset5, null);
            }
            ManageBroadcaster(first, dic, visitor);
            wrapperProperty.Add(visitor);
            SortBroadcaster(first, visitor, dic, selection2, cust3, asset4);
            SerializationInfo serializationInfo = new SerializationInfo(((ProcTest)dic)._0002(), new FormatterConverter());

            visitor.GetObjectData(serializationInfo, baseProperty.roleError);
            SerializationInfoEnumerator enumerator = serializationInfo.GetEnumerator();

            while (enumerator.MoveNext())
            {
                SerializationEntry current  = enumerator.Current;
                ProcTest           procTest = DeleteBroadcaster(current.Value);
                if (CountBroadcaster(current.Value, null, procTest, dic, selection2))
                {
                    first._0002(current.Name);
                    QueryBroadcaster(first, current.Value);
                }
                else if (CustomizeBroadcaster(first, current.Value, null, procTest, dic, selection2))
                {
                    first._0002(current.Name);
                    InvokeBroadcaster(first, current.Value, procTest, null, dic, selection2);
                }
            }
            first._0011();
            wrapperProperty.RemoveAt(wrapperProperty.Count - 1);
            InitBroadcaster(first, dic, visitor);
        }