System.Xml.Schema.AllElementsContentValidator.InitValidation C# (CSharp) Method

InitValidation() public method

public InitValidation ( ValidationState context ) : void
context ValidationState
return void
        public override void InitValidation(ValidationState context) {
            Debug.Assert(elements.Count > 0);
            context.AllElementsSet = new BitSet(elements.Count); //TODO if already non-null can clear 
            context.CurrentState.AllElementsRequired = -1; // no elements at all
        }