Ejemplo n.º 1
0
        public void CallStaticInteropFunctionThrowsNullReferenceException219()
        {
            AphidInterpreter aphidInterpreter;
            CallExpression   callExpression;
            AphidObject      aphidObject;

            aphidInterpreter = AphidInterpreterFactory.Create();
            callExpression   = CallExpressionFactory.Create
                                   ((AphidExpressionContext)null, (AphidExpression)null,
                                   (List <AphidExpression>)null, 0, 0);
            aphidObject = this.CallStaticInteropFunction(aphidInterpreter, callExpression);
        }
Ejemplo n.º 2
0
        public void CallStaticInteropFunctionThrowsNullReferenceException880()
        {
            AphidInterpreter       aphidInterpreter;
            List <AphidExpression> list;
            CallExpression         callExpression;
            AphidObject            aphidObject;

            aphidInterpreter = AphidInterpreterFactory.Create();
            AphidExpression[] aphidExpressions = new AphidExpression[0];
            list           = new List <AphidExpression>((IEnumerable <AphidExpression>)aphidExpressions);
            callExpression = CallExpressionFactory.Create
                                 ((AphidExpressionContext)null, (AphidExpression)null, list, 0, 0);
            aphidObject = this.CallStaticInteropFunction(aphidInterpreter, callExpression);
        }
Ejemplo n.º 3
0
        public void CallStaticInteropFunctionThrowsNullReferenceException439()
        {
            AphidInterpreter            aphidInterpreter;
            ImplicitArgumentsExpression implicitArgumentsExpression;
            CallExpression callExpression;
            AphidObject    aphidObject;

            aphidInterpreter            = AphidInterpreterFactory.Create();
            implicitArgumentsExpression = ImplicitArgumentsExpressionFactory.Create
                                              ((AphidExpressionContext)null, AphidTokenType.CustomOperator011, 0, 0);
            callExpression = CallExpressionFactory.Create((AphidExpressionContext)null,
                                                          (AphidExpression)implicitArgumentsExpression,
                                                          (List <AphidExpression>)null, 0, 0);
            aphidObject = this.CallStaticInteropFunction(aphidInterpreter, callExpression);
        }
Ejemplo n.º 4
0
        public void CallStaticInteropFunctionThrowsNullReferenceException618()
        {
            AphidInterpreter aphidInterpreter;
            ObjectExpression objectExpression;
            CallExpression   callExpression;
            AphidObject      aphidObject;

            aphidInterpreter = AphidInterpreterFactory.Create();
            objectExpression = ObjectExpressionFactory.Create
                                   ((AphidExpressionContext)null, (List <BinaryOperatorExpression>)null,
                                   (IdentifierExpression)null, 0, 0);
            callExpression = CallExpressionFactory.Create
                                 ((AphidExpressionContext)null, (AphidExpression)objectExpression,
                                 (List <AphidExpression>)null, 0, 0);
            aphidObject = this.CallStaticInteropFunction(aphidInterpreter, callExpression);
        }