Ejemplo n.º 1
0
        protected bool CheckBroadcaster(object i, ProcTest attr, object helper, IdentifierClientBridge value2, string reference3, Exception ident4)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            ValErrorFilter valErrorFilter = RevertClient(i, helper, reference3, ident4);

            if (containerProperty != null && containerProperty._0001() >= TraceLevel.Error && !valErrorFilter._0001())
            {
                valErrorFilter._0001(containssetup: true);
                string str = (GetType() == typeof(InterceptorInstanceExpression)) ? "Error serializing" : "Error deserializing";
                if (attr != null)
                {
                    str = str + " " + attr._0002();
                }
                str = str + ". " + ident4.Message;
                if (!(ident4 is ListenerTestItem))
                {
                    str = QueueError.ComputeError(value2, reference3, str);
                }
                containerProperty._0001(TraceLevel.Error, str, ident4);
            }
            if (attr != null && i != null)
            {
                attr.ConcatClient(i, baseProperty._0001(), valErrorFilter);
            }
            if (!valErrorFilter._0002())
            {
                baseProperty.VisitComposer(new FilterClassDispatcher(i, valErrorFilter));
            }
            return(valErrorFilter._0002());
        }
Ejemplo n.º 2
0
 private ValErrorFilter RevertClient(object ident, object attr, string filter, Exception reg2)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     if (regProperty == null)
     {
         regProperty = new ValErrorFilter(ident, attr, filter, reg2);
     }
     if (regProperty._0001() != reg2)
     {
         throw new InvalidOperationException("Current error context error is different to requested error.");
     }
     return(regProperty);
 }