System.Xml.Schema.DtdValidator.ValidatePIComment C# (CSharp) Method

ValidatePIComment() private method

private ValidatePIComment ( ) : void
return void
        private void ValidatePIComment() {
            // When validating with a dtd, empty elements should be lexically empty.
            if (context.NeedValidateChildren ) {
                if (context.ElementDecl.ContentValidator == ContentValidator.Empty) {
                    SendValidationEvent(Res.Sch_InvalidPIComment);
                }
                
            }
        }