System.Xml.Tests.CLoadXmlResolverTest.LoadGeneric2 C# (CSharp) Method

LoadGeneric2() private method

private LoadGeneric2 ( ) : void
return void
        public void LoadGeneric2()
        {
            try
            {
                LoadXSL_Resolver(null, new XmlUrlResolver());
            }
            catch (System.ArgumentException)
            {
                // System.Xml.XmlUrlResolver.ResolveUri(Uri baseUri, String relativeUri) throws ArgumentException
                return;
            }
            _output.WriteLine("Did not throw an exception for null argument!");
            Assert.True(false);
        }