System.Xml.Tests.CLoadMethInfoTest.Var1 C# (CSharp) Méthode

Var1() private méthode

private Var1 ( ) : void
Résultat void
        public void Var1()
        {
            XslCompiledTransform xslt = new XslCompiledTransform();
            try
            {
                WLoad(xslt, (MethodInfo)null, new Byte[5], new Type[5]);
            }
            catch (Exception e)
            {
                _output.WriteLine(e.ToString());

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

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