4 instantiations of ValidationState
System.Private.Xml (4)
System\Xml\Schema\DtdValidator.cs (1)
505
context = new
ValidationState
();
System\Xml\Schema\XdrValidator.cs (1)
656
context = new
ValidationState
();
System\Xml\Schema\XmlSchemaValidator.cs (1)
1527
_context = new
ValidationState
();
System\Xml\Schema\XsdValidator.cs (1)
779
context = new
ValidationState
();
60 references to ValidationState
System.Private.Xml (60)
System\Xml\Schema\BaseValidator.cs (1)
28
protected
ValidationState
? context;
System\Xml\Schema\ContentValidator.cs (28)
977
public virtual void InitValidation(
ValidationState
context)
982
public virtual object? ValidateElement(XmlQualifiedName name,
ValidationState
context, out int errorCode)
992
public virtual bool CompleteValidation(
ValidationState
context)
997
public virtual ArrayList? ExpectedElements(
ValidationState
context, bool isRequiredOnly)
1002
public virtual ArrayList? ExpectedParticles(
ValidationState
context, bool isRequiredOnly, XmlSchemaSet schemaSet)
1059
public override void InitValidation(
ValidationState
context)
1065
public override object ValidateElement(XmlQualifiedName name,
ValidationState
context, out int errorCode)
1071
public override bool CompleteValidation(
ValidationState
context)
1578
public override void InitValidation(
ValidationState
context)
1587
public override object? ValidateElement(XmlQualifiedName name,
ValidationState
context, out int errorCode)
1608
public override bool CompleteValidation(
ValidationState
context)
1617
public override ArrayList? ExpectedElements(
ValidationState
context, bool isRequiredOnly)
1653
public override ArrayList ExpectedParticles(
ValidationState
context, bool isRequiredOnly, XmlSchemaSet schemaSet)
1700
public override void InitValidation(
ValidationState
context)
1710
public override object? ValidateElement(XmlQualifiedName name,
ValidationState
context, out int errorCode)
1762
public override bool CompleteValidation(
ValidationState
context)
1771
public override ArrayList? ExpectedElements(
ValidationState
context, bool isRequiredOnly)
1799
public override ArrayList ExpectedParticles(
ValidationState
context, bool isRequiredOnly, XmlSchemaSet schemaSet)
1847
public override void InitValidation(
ValidationState
context)
1869
public override object? ValidateElement(XmlQualifiedName name,
ValidationState
context, out int errorCode)
2031
public override bool CompleteValidation(
ValidationState
context)
2036
public override ArrayList? ExpectedElements(
ValidationState
context, bool isRequiredOnly)
2079
public override ArrayList ExpectedParticles(
ValidationState
context, bool isRequiredOnly, XmlSchemaSet schemaSet)
2147
public override void InitValidation(
ValidationState
context)
2154
public override object? ValidateElement(XmlQualifiedName name,
ValidationState
context, out int errorCode)
2184
public override bool CompleteValidation(
ValidationState
context)
2194
public override ArrayList? ExpectedElements(
ValidationState
context, bool isRequiredOnly)
2209
public override ArrayList ExpectedParticles(
ValidationState
context, bool isRequiredOnly, XmlSchemaSet schemaSet)
System\Xml\Schema\DtdValidator.cs (2)
502
context = (
ValidationState
)_validationStack.Push();
520
context = (
ValidationState
?)_validationStack.Peek();
System\Xml\Schema\XdrValidator.cs (2)
653
context = (
ValidationState
)_validationStack.Push();
672
context = (
ValidationState
?)_validationStack.Peek();
System\Xml\Schema\XmlSchemaValidator.cs (16)
86
private
ValidationState
_context; // current context
1524
_context = (
ValidationState
)_validationStack.Push();
1548
ValidationState
previousContext = (
ValidationState
)_validationStack.Pop()!;
1555
_context = (
ValidationState
)_validationStack.Peek()!;
2178
if (((
ValidationState
)(_validationStack[level])).Constr == null)
2183
ConstraintStruct[] constraintStructures = ((
ValidationState
)_validationStack[level]).Constr!;
2227
if (((
ValidationState
)(_validationStack[i])).Constr == null)
2233
ConstraintStruct[] constraintStructures = ((
ValidationState
)_validationStack[i]).Constr!;
2282
if (((
ValidationState
)(_validationStack[ci])).Constr == null)
2288
ConstraintStruct[] constraintStructures = ((
ValidationState
)_validationStack[ci]).Constr!;
2328
if (((
ValidationState
)(_validationStack[ci])).Constr == null)
2334
ConstraintStruct[] constraints = ((
ValidationState
)_validationStack[ci]).Constr!;
2448
ConstraintStruct[]? vcs = ((
ValidationState
)(_validationStack[_validationStack.Length - 1])).Constr;
2510
internal static void ElementValidationError(XmlQualifiedName name,
ValidationState
context, ValidationEventHandler? eventHandler, object sender, string? sourceUri, int lineNo, int linePos, XmlSchemaSet? schemaSet)
2568
internal static void CompleteValidationError(
ValidationState
context, ValidationEventHandler? eventHandler, object sender, string? sourceUri, int lineNo, int linePos, XmlSchemaSet? schemaSet)
System\Xml\Schema\XsdValidator.cs (11)
776
context = (
ValidationState
)_validationStack.Push();
803
context = (
ValidationState
?)_validationStack.Peek();
868
if (((
ValidationState
)(_validationStack[level])).Constr == null)
873
ConstraintStruct[] constraints = ((
ValidationState
)_validationStack[level]).Constr!;
913
if (((
ValidationState
)(_validationStack[i])).Constr == null)
919
ConstraintStruct[] constraints = ((
ValidationState
)_validationStack[i]).Constr!;
968
if (((
ValidationState
)(_validationStack[ci])).Constr == null)
974
ConstraintStruct[] constraints = ((
ValidationState
)_validationStack[ci]).Constr!;
1022
if (((
ValidationState
)(_validationStack[ci])).Constr == null)
1028
ConstraintStruct[] constraints = ((
ValidationState
)_validationStack[ci]).Constr!;
1128
ConstraintStruct[] vcs = ((
ValidationState
)(_validationStack[_validationStack.Length - 1])).Constr!;