Exemple #1
0
 //  Method call with VarArg
 public void TryMethodCallWithVarArg()
 {
     ExpressionTestRuntime.TryConvert((env) => DummyHelper.MethodCallWithVarArg(1, 2, 3), false);
 }
Exemple #2
0
        //  Method call with VarArg
        public void MethodCallWithVarArg()
        {
            TargetInvocationException expectedException = new TargetInvocationException(null);

            ExpressionTestRuntime.Convert((env) => DummyHelper.MethodCallWithVarArg(1, 2, 3), expectedException);
        }