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

Var3() private method

private Var3 ( ) : void
return void
        public void Var3()
        {
            // BinCompat TODO: rewrite this test so that it does not load xsl from dll
            Assert.True(false);

            //XslCompiledTransform xslt = new XslCompiledTransform();
            //try
            //{
            //    //error case
            //    WLoad(xslt, AMethodInfo, new Byte[5], null);
            //}
            //catch (Exception e)
            //{
            //    /*
            //     * Anton> If staticData array is malformed, you end up with weird exceptions.
            //     * We didn\92t expect this method to be public and didn\92t implement any range/sanity
            //     * checks in deserialization code path, besides CLR implicit range checks for array indices.
            //     * You have found one such place, but there are dozens of them. Fixing all of them will cause
            //     * code churn in many files and another round of [code review/test sign-off/approval] process.
            //     * Right now it works according to the \93Garbage In, Garbage Out\94 principle.
            //     *
            //     */
            //    _output.WriteLine(e.ToString());
            //}

            //String asmPath = Path.Combine(@"TestFiles\", FilePathUtil.GetTestDataPath(), @"xsltc\precompiled\bftBaseLine.dll");
            //String type = "bftBaseLine";
            //String xml = Path.Combine(@"TestFiles\", FilePathUtil.GetTestDataPath(), @"xsltc\precompiled\sft1.xml");
            //TestWLoad(xslt, Path.GetFullPath(asmPath), type);
            //xslt.Transform(xml, "errout.txt");
            //return;
        }