System.Xml.Tests.TCValidateEndOfAttributes.CallWithoutValidationOfDefaultAttributesGetUnspecifiedDefault_Called_NotCalled C# (CSharp) Method

CallWithoutValidationOfDefaultAttributesGetUnspecifiedDefault_Called_NotCalled() private method

private CallWithoutValidationOfDefaultAttributesGetUnspecifiedDefault_Called_NotCalled ( bool call ) : void
call bool
return void
        public void CallWithoutValidationOfDefaultAttributesGetUnspecifiedDefault_Called_NotCalled(bool call)
        {
            XmlSchemaValidator val = CreateValidator(XSDFILE_VALIDATE_ATTRIBUTE);
            ArrayList atts = new ArrayList();

            val.Initialize();
            val.ValidateElement("DefaultAttributeElement", "", null);

            if (call)
                val.GetUnspecifiedDefaultAttributes(atts);

            val.ValidateEndOfAttributes(null);

            return;
        }