Microsoft.Ccr.Core.VariableArgumentTaskTest.CtorWithBadArgs C# (CSharp) 메소드

CtorWithBadArgs() 개인적인 메소드

private CtorWithBadArgs ( ) : void
리턴 void
        public void CtorWithBadArgs()
        {
            int cnt = 1;
            try {
                var task = new VariableArgumentTask<int> (-1, (a) => cnt += a.Length);
                Assert.Fail ("#1");
            } catch (OverflowException) {} //LAMEIMPL should throw a smarter exception
        }