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