1 write to constraint
System.Xml (1)
System\Xml\Schema\ConstraintStruct.cs (1)
31this.constraint = constraint;
20 references to constraint
System.Xml (20)
System\Xml\Schema\ConstraintStruct.cs (2)
35if (this.constraint.Role != CompiledIdentityConstraint.ConstraintRole.Keyref) { 121kss.fields[i] = new LocatedActiveAxis (cs.constraint.Fields[i], ks, i);
System\Xml\Schema\XmlSchemaValidator.cs (9)
1819if ( context.Constr[i].constraint.Role == CompiledIdentityConstraint.ConstraintRole.Keyref ) { 1830if (constraintStructures[j].constraint.name == context.Constr[i].constraint.refer) { 1994switch (constraints[i].constraint.Role) { 1999SendValidationEvent(new XmlSchemaValidationException(Res.Sch_MissingKey, constraints[i].constraint.name.ToString(), sourceUriString, ks.PosLine, ks.PosCol)); 2007new string[2] {ks.ToString(), constraints[i].constraint.name.ToString()}, 2023new string[2] {ks.ToString(), constraints[i].constraint.name.ToString()}, 2053if (( vcs[i].constraint.Role == CompiledIdentityConstraint.ConstraintRole.Keyref) 2059SendValidationEvent(new XmlSchemaValidationException(Res.Sch_UnresolvedKeyref, new string[2] { ks.ToString(), vcs[i].constraint.name.ToString() },
System\Xml\Schema\XsdValidator.cs (9)
721if ( context.Constr[i].constraint.Role == CompiledIdentityConstraint.ConstraintRole.Keyref ) { 732if (constraints[j].constraint.name == context.Constr[i].constraint.refer) { 891switch (constraints[i].constraint.Role) { 896SendValidationEvent(new XmlSchemaException(Res.Sch_MissingKey, constraints[i].constraint.name.ToString(), reader.BaseURI, ks.PosLine, ks.PosCol)); 903new string[2] {ks.ToString(), constraints[i].constraint.name.ToString()}, 917new string[2] {ks.ToString(), constraints[i].constraint.name.ToString()}, 946if (( vcs[i].constraint.Role == CompiledIdentityConstraint.ConstraintRole.Keyref) 952SendValidationEvent(new XmlSchemaException(Res.Sch_UnresolvedKeyref, new string[2] { ks.ToString(), vcs[i].constraint.name.ToString() },