1 write to constraint
System.Private.Xml (1)
System\Xml\Schema\ConstraintStruct.cs (1)
32this.constraint = constraint;
20 references to constraint
System.Private.Xml (20)
System\Xml\Schema\ConstraintStruct.cs (2)
36if (this.constraint.Role != CompiledIdentityConstraint.ConstraintRole.Keyref) 131kss.fields[i] = new LocatedActiveAxis(_cs.constraint.Fields[i], ks, i);
System\Xml\Schema\XmlSchemaValidator.cs (9)
2171if (_context.Constr[i].constraint.Role == CompiledIdentityConstraint.ConstraintRole.Keyref) 2186if (constraintStructures[j].constraint.name == _context.Constr[i].constraint.refer) 2385switch (constraints[i].constraint.Role) 2392SendValidationEvent(new XmlSchemaValidationException(SR.Sch_MissingKey, constraints[i].constraint.name.ToString(), _sourceUriString, ks.PosLine, ks.PosCol)); 2401new string[2] { ks.ToString(), constraints[i].constraint.name.ToString() }, 2420new string[2] { ks.ToString(), constraints[i].constraint.name.ToString() }, 2455if ((vcs[i].constraint.Role == CompiledIdentityConstraint.ConstraintRole.Keyref) 2464SendValidationEvent(new XmlSchemaValidationException(SR.Sch_UnresolvedKeyref, new string[2] { ks!.ToString(), vcs[i].constraint.name.ToString() },
System\Xml\Schema\XsdValidator.cs (9)
861if (context.Constr[i].constraint.Role == CompiledIdentityConstraint.ConstraintRole.Keyref) 876if (constraints[j].constraint.name == context.Constr[i].constraint.refer) 1069switch (constraints[i].constraint.Role) 1076SendValidationEvent(new XmlSchemaException(SR.Sch_MissingKey, constraints[i].constraint.name.ToString(), reader.BaseURI, ks.PosLine, ks.PosCol)); 1084new string[2] { ks.ToString(), constraints[i].constraint.name.ToString() }, 1101new string[2] { ks.ToString(), constraints[i].constraint.name.ToString() }, 1134if ((vcs[i].constraint.Role == CompiledIdentityConstraint.ConstraintRole.Keyref) 1143SendValidationEvent(new XmlSchemaException(SR.Sch_UnresolvedKeyref, new string[2] { ks!.ToString(), vcs[i].constraint.name.ToString() },