System.Xml.Tests.TCConstructor.SetXmlNameTableToNull C# (CSharp) Method

SetXmlNameTableToNull() private method

private SetXmlNameTableToNull ( ) : void
return void
        public void SetXmlNameTableToNull()
        {
            XmlSchemaValidator val;

            try
            {
                val = new XmlSchemaValidator(null, new XmlSchemaSet(), new XmlNamespaceManager(new NameTable()), AllFlags);
            }
            catch (ArgumentNullException)
            {
                return;
            }

            _output.WriteLine("ArgumentNullException was not thrown!");
            Assert.True(false);
        }