4 instantiations of ValidationState
System.Xml (4)
System\Xml\Schema\DtdValidator.cs (1)
417
context = new
ValidationState
();
System\Xml\Schema\XdrValidator.cs (1)
539
context = new
ValidationState
();
System\Xml\Schema\XmlSchemaValidator.cs (1)
1293
context = new
ValidationState
();
System\Xml\Schema\XsdValidator.cs (1)
654
context = new
ValidationState
();
61 references to ValidationState
System.Xml (61)
System\Xml\Schema\BaseValidator.cs (1)
30
protected
ValidationState
context;
System\Xml\Schema\ContentValidator.cs (28)
912
public virtual void InitValidation(
ValidationState
context) {
916
public virtual object ValidateElement(XmlQualifiedName name,
ValidationState
context, out int errorCode) {
924
public virtual bool CompleteValidation(
ValidationState
context) {
928
public virtual ArrayList ExpectedElements(
ValidationState
context, bool isRequiredOnly) {
932
public virtual ArrayList ExpectedParticles(
ValidationState
context, bool isRequiredOnly, XmlSchemaSet schemaSet) {
978
public override void InitValidation(
ValidationState
context) {
983
public override object ValidateElement(XmlQualifiedName name,
ValidationState
context, out int errorCode) {
988
public override bool CompleteValidation(
ValidationState
context) {
1434
public override void InitValidation(
ValidationState
context) {
1442
public override object ValidateElement(XmlQualifiedName name,
ValidationState
context, out int errorCode) {
1460
public override bool CompleteValidation(
ValidationState
context) {
1467
public override ArrayList ExpectedElements(
ValidationState
context, bool isRequiredOnly) {
1495
public override ArrayList ExpectedParticles(
ValidationState
context, bool isRequiredOnly, XmlSchemaSet schemaSet) {
1535
public override void InitValidation(
ValidationState
context) {
1544
public override object ValidateElement(XmlQualifiedName name,
ValidationState
context, out int errorCode) {
1592
public override bool CompleteValidation(
ValidationState
context) {
1599
public override ArrayList ExpectedElements(
ValidationState
context, bool isRequiredOnly) {
1623
public override ArrayList ExpectedParticles(
ValidationState
context, bool isRequiredOnly, XmlSchemaSet schemaSet) {
1664
public override void InitValidation(
ValidationState
context) {
1684
public override object ValidateElement(XmlQualifiedName name,
ValidationState
context, out int errorCode) {
1854
public override bool CompleteValidation(
ValidationState
context) {
1858
public override ArrayList ExpectedElements(
ValidationState
context, bool isRequiredOnly) {
1893
public override ArrayList ExpectedParticles(
ValidationState
context, bool isRequiredOnly, XmlSchemaSet schemaSet) {
1948
public override void InitValidation(
ValidationState
context) {
1954
public override object ValidateElement(XmlQualifiedName name,
ValidationState
context, out int errorCode) {
1976
public override bool CompleteValidation(
ValidationState
context) {
1983
public override ArrayList ExpectedElements(
ValidationState
context, bool isRequiredOnly) {
1996
public override ArrayList ExpectedParticles(
ValidationState
context, bool isRequiredOnly, XmlSchemaSet schemaSet) {
System\Xml\Schema\DtdValidator.cs (2)
415
context = (
ValidationState
)validationStack.Push();
430
context = (
ValidationState
)validationStack.Peek();
System\Xml\Schema\XdrValidator.cs (2)
537
context = (
ValidationState
)validationStack.Push();
552
context = (
ValidationState
)validationStack.Peek();
System\Xml\Schema\XmlSchemaValidator.cs (16)
85
private
ValidationState
context; // current context
1291
context = (
ValidationState
)validationStack.Push();
1313
ValidationState
previousContext = (
ValidationState
)validationStack.Pop();
1318
context = (
ValidationState
)validationStack.Peek();
1824
if (((
ValidationState
)(this.validationStack[level])).Constr == null) {
1828
ConstraintStruct[] constraintStructures = ((
ValidationState
)this.validationStack[level]).Constr;
1865
if (((
ValidationState
)(this.validationStack[i])).Constr == null) {
1870
ConstraintStruct[] constraintStructures = ((
ValidationState
)this.validationStack[i]).Constr;
1910
if (((
ValidationState
)(this.validationStack[ci])).Constr == null) {
1915
ConstraintStruct[] constraintStructures = ((
ValidationState
)this.validationStack[ci]).Constr;
1948
if (((
ValidationState
)(this.validationStack[ci])).Constr == null) {
1953
ConstraintStruct[] constraints = ((
ValidationState
)this.validationStack[ci]).Constr;
2048
ConstraintStruct[] vcs = ((
ValidationState
)(this.validationStack[this.validationStack.Length - 1])).Constr;
2101
internal static void ElementValidationError(XmlQualifiedName name,
ValidationState
context, ValidationEventHandler eventHandler, object sender, string sourceUri, int lineNo, int linePos, XmlSchemaSet schemaSet) {
2145
internal static void CompleteValidationError(
ValidationState
context, ValidationEventHandler eventHandler, object sender, string sourceUri, int lineNo, int linePos, XmlSchemaSet schemaSet)
System\Xml\Schema\XsdValidator.cs (12)
115
public
ValidationState
Context{
652
context = (
ValidationState
)validationStack.Push();
674
context = (
ValidationState
)validationStack.Peek();
726
if (((
ValidationState
)(this.validationStack[level])).Constr == null) {
730
ConstraintStruct[] constraints = ((
ValidationState
) this.validationStack[level]).Constr;
763
if (((
ValidationState
)(this.validationStack[i])).Constr == null) {
768
ConstraintStruct[] constraints = ((
ValidationState
)this.validationStack[i]).Constr;
809
if (((
ValidationState
)(this.validationStack[ci])).Constr == null) {
814
ConstraintStruct[] constraints = ((
ValidationState
)this.validationStack[ci]).Constr;
852
if (((
ValidationState
)(this.validationStack[ci])).Constr == null) {
857
ConstraintStruct[] constraints = ((
ValidationState
)this.validationStack[ci]).Constr;
942
ConstraintStruct[] vcs = ((
ValidationState
)(this.validationStack[this.validationStack.Length - 1])).Constr;