Example #1
0
        public static RefList ListDic(int init_Low, int counter)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            RefList refList = new RefList();

            refList.m_ThreadList     = ValidationType.IeeeFloat;
            refList._ConsumerList    = (short)counter;
            refList.m_EventInstance  = 32;
            refList.comparatorList   = init_Low;
            refList.m_RecordInstance = (short)(4 * counter);
            refList.m_ProcList       = init_Low * refList.m_RecordInstance;
            refList._FilterInstance  = 0;
            return(refList);
        }
Example #2
0
        public override bool _0001(object param)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            RefList refList = param as RefList;

            if (refList != null)
            {
                if (m_ThreadList == refList.m_ThreadList && _ConsumerList == refList._ConsumerList && comparatorList == refList.comparatorList && m_ProcList == refList.m_ProcList && m_RecordInstance == refList.m_RecordInstance)
                {
                    return(m_EventInstance == refList.m_EventInstance);
                }
                return(false);
            }
            return(false);
        }
 public static extern MathOperator RateDic(out IntPtr res, IntPtr caller, RefList state, IntPtr setup2, IntPtr config3, EventAttributes key4);
 public static extern MathOperator ReflectDic(out IntPtr last, IntPtr result, RefList state, IntPtr param2, IntPtr ident3, EventAttributes pred4);