Exemple #1
0
        public bool Add(ExHandlerWrapper ehW, InstructionWrapper instW)
        {
            int[] iarr = new int[2];

            iarr[0] = ProgramDoms.domEH.IndexOf(ehW);
            if (iarr[0] == -1)
            {
                return(false);
            }
            iarr[1] = ProgramDoms.domP.IndexOf(instW);
            if (iarr[1] == -1)
            {
                return(false);
            }
            return(base.Add(iarr));
        }
Exemple #2
0
        public bool Add(ExHandlerWrapper ehW1, ExHandlerWrapper ehW2)
        {
            int[] iarr = new int[2];

            iarr[0] = ProgramDoms.domEH.IndexOf(ehW1);
            if (iarr[0] == -1)
            {
                return(false);
            }
            iarr[1] = ProgramDoms.domEH.IndexOf(ehW2);
            if (iarr[1] == -1)
            {
                return(false);
            }
            return(base.Add(iarr));
        }
Exemple #3
0
        public bool Add(ExHandlerWrapper ehW, VariableWrapper varW)
        {
            int[] iarr = new int[2];

            iarr[0] = ProgramDoms.domEH.IndexOf(ehW);
            if (iarr[0] == -1)
            {
                return(false);
            }
            iarr[1] = ProgramDoms.domV.IndexOf(varW);
            if (iarr[1] == -1)
            {
                return(false);
            }
            return(base.Add(iarr));
        }
Exemple #4
0
        public bool Add(ExHandlerWrapper ehW, TypeRefWrapper typeRefW)
        {
            int[] iarr = new int[2];

            iarr[0] = ProgramDoms.domEH.IndexOf(ehW);
            if (iarr[0] == -1)
            {
                return(false);
            }
            iarr[1] = ProgramDoms.domT.IndexOf(typeRefW);
            if (iarr[1] == -1)
            {
                return(false);
            }
            return(base.Add(iarr));
        }
Exemple #5
0
        public bool Add(MethodRefWrapper methW, ExHandlerWrapper ehW)
        {
            int[] iarr = new int[2];

            iarr[0] = ProgramDoms.domM.IndexOf(methW);
            if (iarr[0] == -1)
            {
                return(false);
            }
            iarr[1] = ProgramDoms.domEH.IndexOf(ehW);
            if (iarr[1] == -1)
            {
                return(false);
            }
            return(base.Add(iarr));
        }