System.Xml.Tests.TCConstructor.SetSchemaSetToNull C# (CSharp) Méthode

SetSchemaSetToNull() private méthode

private SetSchemaSetToNull ( ) : void
Résultat void
        public void SetSchemaSetToNull()
        {
            XmlSchemaValidator val;

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

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