Ejemplo n.º 1
0
        internal static ContextError VerifyComposer(IdentifierClientBridge task, string token, string util, Exception first2)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            util = QueueError.ComputeError(task, token, util);
            int helper_High;
            int spec2_min;

            if (task != null && task._0002())
            {
                helper_High = task._0001();
                spec2_min   = task._0002();
            }
            else
            {
                helper_High = 0;
                spec2_min   = 0;
            }
            return(new ContextError(util, token, helper_High, spec2_min, first2));
        }
Ejemplo n.º 2
0
        internal static StrategyError ValidateComposer(IdentifierClientBridge task, string counter, string res, Exception setup2)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            res = QueueError.ComputeError(task, counter, res);
            int sum_serv;
            int v2_max;

            if (task != null && task._0002())
            {
                sum_serv = task._0001();
                v2_max   = task._0002();
            }
            else
            {
                sum_serv = 0;
                v2_max   = 0;
            }
            return(new StrategyError(res, counter, sum_serv, v2_max, setup2));
        }
Ejemplo n.º 3
0
 internal static string ComputeError(IdentifierClientBridge instance, string pred, string temp)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     if (!temp.EndsWith(Environment.NewLine, StringComparison.Ordinal))
     {
         temp = temp.Trim();
         if (!temp.SetupReader('.'))
         {
             temp += ".";
         }
         temp += " ";
     }
     temp += "Path '{0}'".ListReader(CultureInfo.InvariantCulture, pred);
     if (instance != null && instance._0002())
     {
         temp += ", line {0}, position {1}".SelectReader(CultureInfo.InvariantCulture, instance._0001(), instance._0002());
     }
     temp += ".";
     return(temp);
 }