Ejemplo n.º 1
0
Archivo: Filters.cs Proyecto: ikvm/test
 private bool method_4(int int_2, Unit unit_0, Unit unit_1)
 {
     if (unit_0 is DSVar)
     {
         DSVar var = (DSVar)unit_0;
         if (var.DS == this.index_0.DS)
         {
             int colNo = var.ColNo;
             if ((this.index_0.getLevelFrom(this.int_0, colNo) >= 0) && (unit_1 is Constant))
             {
                 return(this.method_1(colNo, int_2, ((Constant)unit_1).GetValue(false)));
             }
         }
     }
     else if (unit_1 is DSVar)
     {
         DSVar var2 = (DSVar)unit_1;
         if (var2.DS == this.index_0.DS)
         {
             int col = var2.ColNo;
             if ((this.index_0.getLevelFrom(this.int_0, col) >= 0) && (unit_0 is Constant))
             {
                 return(this.method_1(col, int_2, ((Constant)unit_0).GetValue(false)));
             }
         }
     }
     return(false);
 }
Ejemplo n.º 2
0
Archivo: Group.cs Proyecto: ikvm/test
        private bool method_5(ExpParse expParse_0)
        {
            Index index = this.dataSet_0.Index;

            if (index != null)
            {
                if (this.btree_0 != null)
                {
                    if (expParse_0 == null)
                    {
                        return(false);
                    }
                    Unit home = expParse_0.Home;
                    if (home is DSVar)
                    {
                        DSVar var = (DSVar)home;
                        if (var.DS != this.dataSet_0)
                        {
                            return(false);
                        }
                        int colNo = var.ColNo;
                        return((colNo >= 0) ? (index.getLevelFrom(this.btree_0, colNo) >= 0) : false);
                    }
                }
                return(false);
            }
            return(false);
        }