System.Xml.Tests.CLoadMethInfoTest.Var2 C# (CSharp) Method

Var2() private method

private Var2 ( ) : void
return void
        public void Var2()
        {
            XslCompiledTransform xslt = new XslCompiledTransform();
            try
            {
                WLoad(xslt, AMethodInfo, null, new Type[5]);
            }
            catch (Exception e)
            {
                _output.WriteLine(e.ToString());

                if (e is ArgumentException || e.InnerException is ArgumentException)
                    return;

                _output.WriteLine("Did not throw ArgumentNullException");
            }
            Assert.True(false);
        }